Skip to content

Commit

Permalink
Make validFrom = validUntil = now test assertion more exact.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljones15 committed Dec 1, 2023
1 parent 1491531 commit 54504f7
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 @@ -888,7 +888,7 @@ for(const [version, mockCredential] of versionedCredentials) {
} catch(e) {
error = e;
}
should.not.exist(error, 'Should NOT throw when now is between' +
should.not.exist(error, 'Should NOT throw when now equals' +
'"validFrom" & "validUntil"');
});
it('should reject if now is after "validFrom" & "validUntil"', () => {
Expand Down

0 comments on commit 54504f7

Please sign in to comment.