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

refactor: use vitest #199

Merged
merged 12 commits into from
May 17, 2024
Merged

refactor: use vitest #199

merged 12 commits into from
May 17, 2024

Conversation

BobbieGoede
Copy link
Member

@BobbieGoede BobbieGoede commented May 15, 2024

Switching to vitest was a bit more complicated due to the e2e test, I managed to make it work by following a similar approach as Nuxt's test utils, using execa child_process to start the dev server to test against. I wonder if the current setup is correct, shouldn't we test against a build instead of starting a dev server?

.github/workflows/test.yml Outdated Show resolved Hide resolved
e2e/setup-server.ts Outdated Show resolved Hide resolved
Copy link
Member

@kazupon kazupon left a comment

Choose a reason for hiding this comment

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

I've just reviewed your PR!
Great refactoring!
Please check it, and go next!

@BobbieGoede BobbieGoede requested a review from kazupon May 16, 2024 07:00
Copy link
Member

@kazupon kazupon left a comment

Choose a reason for hiding this comment

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

Good job!
Thanks!

@kazupon kazupon merged commit b62fef3 into intlify:next May 17, 2024
3 checks passed
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.

None yet

2 participants