Skip to content
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

Merged
merged 3 commits into from
Dec 16, 2024
Merged

chore: fake timer #528

merged 3 commits into from
Dec 16, 2024

Conversation

ilteoood
Copy link
Contributor

@ilteoood ilteoood commented Dec 14, 2024

  • Remove sinon fake timer in favour of node tests one

Copy link
Contributor

No linked issues found. Please add the corresponding issues in the pull request description.
Use GitHub automation to close the issue when a PR is merged

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",
Copy link
Member

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?

Copy link
Contributor Author

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

@simoneb simoneb requested a review from Copilot December 15, 2024 14:30

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
@ilteoood ilteoood requested a review from simoneb December 16, 2024 17:36

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 => {
test/verifier.spec.js Outdated Show resolved Hide resolved
@simoneb simoneb enabled auto-merge (squash) December 16, 2024 17:45
@simoneb simoneb merged commit 4691667 into nearform:master Dec 16, 2024
4 of 5 checks passed
@github-actions github-actions bot mentioned this pull request Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants