Skip to content

Commit

Permalink
test: fix di_vc test
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra committed Feb 7, 2024
1 parent 9fb0146 commit 1259060
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 1259060

Please sign in to comment.