Skip to content

Commit

Permalink
Add 1 to fix expires test.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlongley committed Sep 3, 2024
1 parent 3819177 commit 0149ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/mocha/20-vcapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ describe('exchange w/ VC-API delivery', () => {
// wait for exchange to expire
now = new Date();
await new Promise(
r => setTimeout(r, expires.getTime() - now.getTime()));
r => setTimeout(r, expires.getTime() - now.getTime() + 1));
} catch(error) {
err = error;
}
Expand Down

0 comments on commit 0149ccb

Please sign in to comment.