Skip to content

chore: fake timer#528

Merged
simoneb merged 3 commits intonearform:masterfrom
ilteoood:chore/fake-timer
Dec 16, 2024
Merged

chore: fake timer#528
simoneb merged 3 commits intonearform:masterfrom
ilteoood:chore/fake-timer

Conversation

@ilteoood
Copy link
Copy Markdown
Contributor

@ilteoood ilteoood commented Dec 14, 2024

  • Remove sinon fake timer in favour of node tests one

@github-actions
Copy link
Copy Markdown
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

Comment thread package.json Outdated
"devDependencies": {
"@node-rs/jsonwebtoken": "^0.5.9",
"@sinonjs/fake-timers": "^13.0.5",
"@sinonjs/fake-timers": "^14.0.0",
Copy link
Copy Markdown
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
Copy Markdown
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
Copy link
Copy Markdown
Contributor

Copilot AI left a 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

@ilteoood ilteoood requested a review from simoneb December 16, 2024 17:36
Copy link
Copy Markdown
Contributor

Copilot AI left a 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 => {

Comment thread test/verifier.spec.js Outdated
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.

3 participants