We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 223c042 commit b0be4d7Copy full SHA for b0be4d7
babel.config.js
@@ -4,7 +4,8 @@ module.exports = {
4
/* presets: [["env", { modules: false }]], */
5
env: {
6
test: {
7
- presets: [["env", { targets: { node: "current" } }]]
+ presets: [["env", { targets: { node: "current" } }]],
8
+ plugins: ["istanbul"]
9
}
10
11
};
package.json
@@ -13,7 +13,7 @@
13
"libs"
14
],
15
"scripts": {
16
- "test": "cross-env NODE_ENV=test jest --config jest.config.js",
+ "test": "cross-env NODE_ENV=test BABEL_ENV=test jest --config jest.config.js",
17
"test:cover": "cross-env NODE_ENV=test COVERAGE=true jest --config jest.config.js",
18
"codecov": "codecov",
19
"lint": "vue-cli-service lint",
0 commit comments