Skip to content

Commit

Permalink
Merge pull request #143 from TimoGlastra/fix-test
Browse files Browse the repository at this point in the history
test: fix di_vc test
  • Loading branch information
nklomp authored Feb 7, 2024
2 parents 9fb0146 + 1259060 commit d9b5c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/PEXv2.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ describe('evaluate', () => {
signatureOptions: getSingatureOptionsMock(),
});
expect(vpr.presentationSubmission.descriptor_map).toHaveLength(1);
expect(vpr.presentationSubmission.descriptor_map[0].format).toEqual('di_vp');
expect(vpr.presentationSubmission.descriptor_map[0].format).toEqual('di_vc');
const vp = vpr.verifiablePresentation as IVerifiablePresentation;
const proof = Array.isArray(vp.proof) ? vp.proof[0] : vp.proof;
expect(proof.created).toEqual('2021-12-01T20:10:45.000Z');
Expand Down

0 comments on commit d9b5c9e

Please sign in to comment.