Skip to content

Commit f87463e

Browse files
committed
Enable code coverage statistics
1 parent 0adca20 commit f87463e

File tree

5 files changed

+962
-92
lines changed

5 files changed

+962
-92
lines changed

.babelrc

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
]
66
],
77
"plugins": [
8-
"@babel/plugin-transform-runtime"
9-
]
8+
"@babel/plugin-transform-runtime",
9+
],
10+
"env": {
11+
"test": {
12+
"plugins": [
13+
"istanbul"
14+
]
15+
}
16+
}
1017
}

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,8 @@ node_modules
1111
docs/build
1212
.npmrc
1313
*.iml
14-
/lib
14+
/lib
15+
.nyc_output
16+
coverage
17+
.vscode
18+
*.code-workspace

.nycrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": "@istanbuljs/nyc-config-babel",
3+
"reporter": ["text", "lcov"]
4+
}

0 commit comments

Comments
 (0)