-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
docs: add initial docs for runtime tests #24658
Conversation
Run & review this pull request in StackBlitz Codeflow. |
β Live Preview ready!
|
Co-authored-by: Damian GΕowala <damian.glowala.rebkow@gmail.com>
export default defineVitestConfig({ | ||
// any custom Vitest config you require | ||
}) | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also add the script that can be used in package.json
?
Would "test:unit": "vitest"
be enough?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it would be π
π Linked issue
resolves #22577
β Type of change
π Description
This adds initial documentation for
@nuxt/test-utils
based on the work we've done merging innuxt-vitest
and refactoring the approach.π Checklist