Skip to content

test(node): Migrate to vitest #13606

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

Closed
wants to merge 1 commit into from
Closed

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Sep 6, 2024

Closes #13605

I modified the long running rate-limiter tests to use fake timers too. This brought the test time down from 24 seconds to 4 seconds.

Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious if the Node 14 tests pass here. I had to close my previous atttempt (#13458) to do the same for the core package because Vitest doesn't support Node 14. Actually not even Node 16 officially but that seemed to work at least.

@timfish
Copy link
Collaborator Author

timfish commented Sep 6, 2024

Although now I see this comment.

So we can't migrate to vitest because of Node v14?

@Lms24
Copy link
Member

Lms24 commented Sep 6, 2024

I'm afraid we're blocked on that yeah :(

@timfish
Copy link
Collaborator Author

timfish commented Sep 6, 2024

Closing due to Node support 😭

@timfish timfish closed this Sep 6, 2024
@timfish timfish deleted the timfish/test/vitest-node branch February 28, 2025 18:27
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.

test(node): Switch from Jest to vitest
2 participants