Open yanzhangshuai opened 2 years ago
Please try this workaround:
npm install --save-dev @babel/preset-env
and add babel.config.js
to your root of your project:
// babel.config.js
module.exports = {
presets: ['@babel/preset-env'],
}
Reference: https://github.com/vuejs/vue-jest/issues/367#issuecomment-880300172
Hi, will the team consider upgrading to ESM eventually? Does anyone out there by any chance have an ESM flavor in a fork of this repo?
Hello, I have a problem. The problem should come from my configuration. But I need help.
I used ts-jest、babel-jest and @vue/vue3-jest ,But when I run the jest, I got an error
configuration
Version