From 52b1662c9f7dc911f7f67d2e56a0b86cb7535c8c Mon Sep 17 00:00:00 2001 From: nklomp Date: Wed, 28 Sep 2022 23:26:48 +0200 Subject: [PATCH] fix: Tests to allow multiple subjects for credentials --- packages/ssi-types/__tests__/wrapped-claims.test.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/ssi-types/__tests__/wrapped-claims.test.ts b/packages/ssi-types/__tests__/wrapped-claims.test.ts index c829cad6a..844479098 100644 --- a/packages/ssi-types/__tests__/wrapped-claims.test.ts +++ b/packages/ssi-types/__tests__/wrapped-claims.test.ts @@ -35,7 +35,6 @@ describe('Wrapped VC claims', () => { it('should throw an error if expiration date and exp are different in JWT vc', () => { const jwtVc: IVerifiableCredential = getFileAsJson('packages/ssi-types/__tests__/vc_vp_examples/vp/vp_general.json').verifiableCredential[0] - const subject = jwtVc['vc' as keyof IVerifiableCredential].credentialSubject jwtVc['exp' as keyof IVerifiableCredential] = (+new Date()).toString() ;(jwtVc['vc' as keyof IVerifiableCredential]).expirationDate = (+new Date( (jwtVc['exp' as keyof IVerifiableCredential] as string) + 2