diff --git a/packages/credentials/tests/jwt.spec.ts b/packages/credentials/tests/jwt.spec.ts index 23320aa3e..34074393d 100644 --- a/packages/credentials/tests/jwt.spec.ts +++ b/packages/credentials/tests/jwt.spec.ts @@ -208,7 +208,7 @@ describe('Jwt', () => { const vectors = JwtVerifyTestVector.vectors; for (const vector of vectors) { - const { input, errors, errorMessage } = vector; + const { input, errors } = vector; if (errors) { let errorOccurred = false; @@ -216,10 +216,6 @@ describe('Jwt', () => { await VerifiableCredential.verify({ vcJwt: input }); } catch (e: any) { errorOccurred = true; - expect(e.message).to.not.be.null; - if(errorMessage && errorMessage['web5-js']) { - expect(e.message).to.include(errorMessage['web5-js']); - } } if (!errorOccurred) { throw new Error('Verification should have failed but didn\'t.'); diff --git a/web5-spec b/web5-spec index 1f0c51f52..270966f0f 160000 --- a/web5-spec +++ b/web5-spec @@ -1 +1 @@ -Subproject commit 1f0c51f52e27bde2947aadadd5d6e10238c8698e +Subproject commit 270966f0ffab6c8834ab83aeb61855d212b12723