Skip to content

Commit 51aab5a

Browse files
committed
add istanbul
1 parent 1e03af4 commit 51aab5a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"env": {
1313
"test": {
1414
"presets": ["env", "stage-2"],
15-
"plugins": ["transform-runtime", "lodash", "vue-jsx-sync", "jsx-v-model", "transform-vue-jsx", "transform-es2015-modules-commonjs", "dynamic-import-node"]
15+
"plugins": ["transform-runtime", "lodash", "vue-jsx-sync", "jsx-v-model", "transform-vue-jsx", "transform-es2015-modules-commonjs", "dynamic-import-node", "istanbul"]
1616
}
1717
}
1818
}

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"babel-jest": "^21.0.2",
4040
"babel-loader": "^7.1.1",
4141
"babel-plugin-dynamic-import-node": "^1.2.0",
42+
"babel-plugin-istanbul": "^4.1.6",
4243
"babel-plugin-jsx-v-model": "^2.0.3",
4344
"babel-plugin-lodash": "^3.3.2",
4445
"babel-plugin-syntax-jsx": "^6.18.0",

0 commit comments

Comments
 (0)