Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
mistermoe committed Dec 7, 2023
1 parent 89cdd92 commit fe11f93
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions packages/credentials/tests/verifiable-credential.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,18 +370,4 @@ describe('Verifiable Credential Tests', () => {
sinon.restore();
});
});
});

const expectThrowsAsync = async (method: any, errorMessage: string) => {
let error: any = null;
try {
await method();
}
catch (err) {
error = err;
}
expect(error).to.be.an('Error');
if (errorMessage) {
expect(error.message).to.contain(errorMessage);
}
};
});

0 comments on commit fe11f93

Please sign in to comment.