Skip to content

Commit

Permalink
chore(package): replace deprecated babel-plugin-__coverage__
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Fedyashov committed Aug 7, 2017
1 parent ae448ae commit 2d3258a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"env": {
"test": {
"plugins": [
["__coverage__", { "only": "src/" }]
["istanbul", { "include": ["src"] }]
]
}
}
Expand Down
1 change: 1 addition & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ module.exports = (karmaConfig) => {
singleRun: true,
preprocessors: {
// do not include 'coverage' preprocessor for karma-coverage
// TODO
// code is already instrumented by babel-plugin-__coverage__
'./test/tests.bundle.js': ['webpack'],
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"babel-core": "^6.21.0",
"babel-eslint": "^7.0.0",
"babel-loader": "^7.0.0",
"babel-plugin-__coverage__": "^11.0.0",
"babel-plugin-istanbul": "^4.1.4",
"babel-plugin-lodash": "^3.2.10",
"babel-plugin-react-transform": "^2.0.2",
"babel-plugin-transform-react-handled-props": "^0.2.3",
Expand Down

0 comments on commit 2d3258a

Please sign in to comment.