Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nitro-neal committed Apr 1, 2024
1 parent a23b1a6 commit 5a50cde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions packages/credentials/tests/verifiable-credential.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ describe('Verifiable Credential Tests', async() => {
const vectors = CredentialsVerifyTestVector.vectors;

for (const vector of vectors) {
const { input, errors, errorMessage } = vector;
const { input, errors } = vector;

if (errors) {
let errorOccurred = false;
Expand All @@ -609,10 +609,6 @@ describe('Verifiable Credential Tests', async() => {
} catch (e: any) {
errorOccurred = true;
expect(e.message).to.not.be.null;

if(errorMessage) {
expect(e.message).to.equal(errorMessage['web5-js']);
}
}
if (!errorOccurred) {
throw new Error('Verification should have failed but didn\'t.');
Expand Down
2 changes: 1 addition & 1 deletion web5-spec

0 comments on commit 5a50cde

Please sign in to comment.