Skip to content

Commit 309ac3c

Browse files
committed
Add support for jest
1 parent 5fac4d1 commit 309ac3c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"scripts": {
1111
"build": "babel src -d dist --ignore *.spec.js",
1212
"prepublish": "npm run build",
13+
"jest": "jest src/**/*.test.js",
1314
"test": "mocha \"src/**/*spec.js\" --recursive --compilers js:babel-register",
1415
"test:coverage": "babel-node ./node_modules/.bin/babel-istanbul cover _mocha -- \"src/**/*spec.js\" --recursive --compilers js:babel-register",
1516
"test:coveralls": "npm run test:coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
@@ -21,12 +22,15 @@
2122
"babel-cli": "^6.18.0",
2223
"babel-core": "^6.18.2",
2324
"babel-istanbul": "^0.12.1",
25+
"babel-jest": "^19.0.0",
2426
"babel-plugin-add-module-exports": "^0.2.1",
2527
"babel-plugin-transform-es2015-modules-umd": "^6.22.0",
2628
"babel-preset-es2015": "^6.18.0",
2729
"babel-preset-stage-0": "^6.16.0",
2830
"chai": "^3.5.0",
2931
"coveralls": "^2.11.15",
32+
"jest": "^19.0.2",
33+
"jest-each": "0.0.1",
3034
"mocha": "^3.1.2",
3135
"mocha-each": "^1.0.3"
3236
},

0 commit comments

Comments
 (0)