-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: fake timer #528
chore: fake timer #528
Conversation
ilteoood
commented
Dec 14, 2024
•
edited
Loading
edited
- Remove sinon fake timer in favour of node tests one
No linked issues found. Please add the corresponding issues in the pull request description. |
package.json
Outdated
@@ -58,7 +58,7 @@ | |||
}, | |||
"devDependencies": { | |||
"@node-rs/jsonwebtoken": "^0.5.9", | |||
"@sinonjs/fake-timers": "^13.0.5", | |||
"@sinonjs/fake-timers": "^14.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any chance we can use Node's built in mock timers?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The last time I tried it was not working well on node 20, let me try that again
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot wasn't able to review any files in this pull request.
Files not reviewed (1)
- package.json: Language not supported
34baa38
to
87c8fe1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
Files not reviewed (1)
- package.json: Language not supported
Comments suppressed due to low confidence (1)
test/verifier.spec.js:1098
- The word 'directy' should be 'directly'.
test('caching - should be able to manipulate cache directy', t => {