Skip to content

Commit 48c0e0e

Browse files
committed
Remove mocha test scripts with jest
1 parent ff113de commit 48c0e0e

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

package.json

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,24 @@
1010
"scripts": {
1111
"build": "babel src -d dist --ignore *.spec.js",
1212
"prepublish": "npm run build",
13-
"jest": "jest src/**/*.test.js",
14-
"test": "mocha \"src/**/*spec.js\" --recursive --compilers js:babel-register",
15-
"test:coverage": "babel-node ./node_modules/.bin/babel-istanbul cover _mocha -- \"src/**/*spec.js\" --recursive --compilers js:babel-register",
13+
"test": "jest src/**/*.test.js",
14+
"test:coverage": "jest --coverage",
1615
"test:coveralls": "npm run test:coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
17-
"test:watch": "npm test -- -w"
16+
"test:watch": "npm test -- --watch"
1817
},
1918
"author": "Matt Phillips",
2019
"license": "MIT",
2120
"devDependencies": {
2221
"babel-cli": "^6.18.0",
2322
"babel-core": "^6.18.2",
24-
"babel-istanbul": "^0.12.1",
2523
"babel-jest": "^19.0.0",
2624
"babel-plugin-add-module-exports": "^0.2.1",
2725
"babel-plugin-transform-es2015-modules-umd": "^6.22.0",
2826
"babel-preset-es2015": "^6.18.0",
2927
"babel-preset-stage-0": "^6.16.0",
30-
"chai": "^3.5.0",
3128
"coveralls": "^2.11.15",
3229
"jest": "^19.0.2",
33-
"jest-each": "0.0.1",
34-
"mocha": "^3.1.2",
35-
"mocha-each": "^1.0.3"
30+
"jest-each": "0.2.0"
3631
},
3732
"babel": {
3833
"presets": [

0 commit comments

Comments
 (0)