Skip to content

Commit

Permalink
Use templateString for expectedIssuanceDate.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljones15 committed Dec 6, 2023
1 parent b34181d commit 5fd149f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/10-verify.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ describe('vc.issue()', () => {
const credential = jsonld.clone(mockCredential);
delete credential.issuanceDate;
const now = new Date();
const expectedIssuanceDate = now.toISOString().slice(0, -5) + 'Z';
const expectedIssuanceDate = `${now.toISOString().slice(0, -5)}Z`;
const verifiableCredential = await vc.issue({
credential,
suite,
Expand Down

0 comments on commit 5fd149f

Please sign in to comment.