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
When using vue3-jest in a project that does not have @babel/preset-env as a dependency, vue3-jest throws the error:
vue3-jest
@babel/preset-env
Cannot find module '@babel/preset-env' Require stack: - node_modules/@babel/core/lib/config/files/plugins.js - node_modules/@babel/core/lib/config/files/index.js - node_modules/@babel/core/lib/index.js - node_modules/@vue/vue3-jest/lib/process.js - node_modules/@vue/vue3-jest/lib/index.js - node_modules/jest-util/build/requireOrImportModule.js - node_modules/jest-util/build/index.js - node_modules/jest-resolve/build/resolver.js - node_modules/jest-resolve/build/index.js - node_modules/jest-runtime/build/index.js - node_modules/jest-runner/build/testWorker.js - node_modules/jest-worker/build/workers/processChild.js
I believe this is due to this code which tells babel to use @babel/preset-env but vue3-jest doesn't include it as a dependency.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using
vue3-jest
in a project that does not have@babel/preset-env
as a dependency,vue3-jest
throws the error:I believe this is due to this code which tells babel to use
@babel/preset-env
butvue3-jest
doesn't include it as a dependency.The text was updated successfully, but these errors were encountered: