We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e54c935 commit dc285abCopy full SHA for dc285ab
‎.gitignore‎
@@ -1 +1,3 @@
1
node_modules/
2
+.nyc_output/
3
+coverage/
‎package.json‎
@@ -4,7 +4,7 @@
4
"description": "Get random Star Wars names",
5
"main": "src/index.js",
6
"scripts": {
7
- "test": "mocha",
+ "test": "nyc mocha",
8
"watch:test": "mocha --watch",
9
"lint": "eslint src"
10
},
@@ -29,6 +29,22 @@
29
"chai": "3.5.0",
30
"eslint": "3.2.0",
31
"eslint-config-kentcdodds": "^9.0.0",
32
- "mocha": "3.0.0"
+ "mocha": "3.0.0",
33
+ "nyc": "7.1.0"
34
+ },
35
+ "nyc": {
36
+ "all": true,
37
+ "check-coverage": true,
38
+ "branches": 100,
39
+ "function": 100,
40
+ "lines": 100,
41
+ "statements": 100,
42
+ "reporter": [
43
+ "text",
44
+ "lcov"
45
+ ],
46
+ "include": [
47
+ "src"
48
+ ]
49
}
50
0 commit comments