We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After I followed instruction to install @nuxt/test-utils, the preset is not found in jest. Here is a minimal reproduction.
https://stackblitz.com/edit/nuxt-starter-mzh22b?file=package.json,jest.config.js,test%2Fexample.spec.js,README.md
package.json
{ "private": true, "scripts": { "build": "nuxt build", "dev": "HOST=0.0.0.0 nuxt dev", "generate": "nuxt generate", "preview": "nuxt preview", "postinstall": "nuxt prepare", "test": "jest" }, "devDependencies": { "@nuxt/test-utils": "^3.4.2", "@types/node": "^18", "jest": "^28.1.3", "nuxt": "^3.4.2" } }
jest.config.js
module.exports = { preset: '@nuxt/test-utils', };
Not sure what happened here
The text was updated successfully, but these errors were encountered:
fix: add setupState type to mountSuspended return type (nuxt#400)
setupState
mountSuspended
7129de1
No branches or pull requests
After I followed instruction to install @nuxt/test-utils, the preset is not found in jest. Here is a minimal reproduction.
https://stackblitz.com/edit/nuxt-starter-mzh22b?file=package.json,jest.config.js,test%2Fexample.spec.js,README.md
package.json
jest.config.js
Not sure what happened here
The text was updated successfully, but these errors were encountered: