Skip to content

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.

2 participants