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

[6.x] Switch from Jest to Vitest #11428

Merged
merged 7 commits into from
Feb 7, 2025
Merged

[6.x] Switch from Jest to Vitest #11428

merged 7 commits into from
Feb 7, 2025

Conversation

jasonvarga
Copy link
Member

@jasonvarga jasonvarga commented Feb 6, 2025

This switches from Jest to Vitest. https://vitest.dev/

The vue test utils package was previously added, but now this PR includes proper setup and an example test so we can continue adding Vue component tests.

npm run test is still how you run the js test suite.

@jasonvarga jasonvarga changed the title [5.x] Switch from Jest to Vitest [6.x] Switch from Jest to Vitest Feb 6, 2025
# Conflicts:
#	resources/js/tests/FieldConditionsValidator.test.js
#	resources/js/tests/Globals.test.js
#	resources/js/tests/NormalizeInputOptions.test.js
#	resources/js/tests/Slug.test.js
@jasonvarga jasonvarga marked this pull request as ready for review February 7, 2025 16:41
@jasonvarga jasonvarga merged commit 06ea788 into master Feb 7, 2025
18 checks passed
@jasonvarga jasonvarga deleted the vitest branch February 7, 2025 16:53
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.

1 participant