Skip to content
This repository was archived by the owner on Oct 26, 2018. It is now read-only.

Commit 21b8512

Browse files
committed
Add test coverage
1 parent bd332dc commit 21b8512

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Diff for: .gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
lib
2-
node_modules
2+
node_modules
3+
coverage

Diff for: package.json

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"scripts": {
1515
"build": "mkdir -p lib && babel ./src/index.js --plugins transform-object-assign --out-file ./lib/index.js",
1616
"test": "mocha --compilers js:babel-core/register --recursive",
17+
"test:cov": "babel-node $(npm bin)/isparta cover $(npm bin)/_mocha -- --recursive",
1718
"prepublish": "npm run build"
1819
},
1920
"tags": [
@@ -32,6 +33,7 @@
3233
"babel-preset-es2015": "^6.1.2",
3334
"expect": "^1.13.0",
3435
"history": "^1.13.1",
36+
"isparta": "^4.0.0",
3537
"mocha": "^2.3.4",
3638
"redux": "^3.0.4"
3739
}

0 commit comments

Comments
 (0)