-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore: migrate to @nuxt/test-utils
alpha
#104
Conversation
WalkthroughThe updates reflect a consolidation of Nuxt's testing utilities, with the Changes
Related issues
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on X ? TipsChat with CodeRabbit Bot (
|
Updated dependencies detected. Learn more about Socket for GitHub ↗︎
|
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.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files ignored due to filter (2)
- package.json
- pnpm-lock.yaml
Files selected for processing (3)
- .nuxtrc (1 hunks)
- test/e2e.spec.ts (2 hunks)
- vitest.config.mjs (1 hunks)
Additional comments: 4
.nuxtrc (1)
- 2-2: The update to the module declaration in
.nuxtrc
appears to be correct and aligns with the PR's objective to migrate to@nuxt/test-utils
. Ensure that no additional configuration is required for the new module to function as expected.test/e2e.spec.ts (2)
3-3: The updated import statement aligns with the PR's objective to migrate to
@nuxt/test-utils
alpha version.39-71: Ensure that the inline snapshot changes in lines 39-71 are intentional and accurately reflect the expected output after migrating to the new version of
@nuxt/test-utils
.vitest.config.mjs (1)
- 1-1: Verify that the function
defineVitestConfig
exists in the@nuxt/test-utils/config
module and is correctly exported.
Following the steps in nuxt/test-utils#644, this PR migrates to the latest alpha of
@nuxt/test-utils
which includesnuxt-vitest
.It's primarily intended for testing any potential regressions prior to release.
Summary by CodeRabbit
Refactor
@nuxt/test-utils/module
for enhanced testing capabilities.Tests
Documentation