Skip to content

Commit c3ff23c

Browse files
laiyuandongtest1
authored andcommitted
更换覆盖率插件
1 parent de481a2 commit c3ff23c

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@
5050
"babel-core": "^6.24.1",
5151
"babel-loader": "^7.0.0",
5252
"babel-plugin-transform-class-properties": "^6.24.1",
53+
"babel-plugin-istanbul": "^4.1.4",
5354
"babel-preset-es2015": "^6.24.1",
5455
"babelify": "^7.3.0",
5556
"browserify": "^14.3.0",
5657
"browserify-css": "^0.11.1",
57-
"browserify-istanbul": "^2.0.0",
5858
"browserify-imgify": "^0.0.1",
5959
"chromedriver": "^2.29.2",
6060
"clean-css-cli": "^4.1.6",

test/karma.conf.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,10 @@ module.exports = function (config) {
1919
[require('babelify'), {
2020
presets: ["es2015"],
2121
ignore: ["**/classic/libs/**", "**/test/**"],
22-
plugins: ['transform-class-properties']
22+
plugins: ['transform-class-properties','istanbul']
2323
}],
2424
require('browserify-css'),
25-
require('browserify-imgify'),
26-
[require('browserify-istanbul'), {
27-
instrumenterConfig: {
28-
embedSource: true
29-
}
30-
}]
25+
require('browserify-imgify')
3126
]
3227
},
3328

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy