Skip to content

Commit

Permalink
[Tests] run nyc on all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Nov 18, 2020
1 parent d19ad4c commit a659f75
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
13 changes: 13 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"all": true,
"check-coverage": false,
"reporter": ["text-summary", "text", "html", "json"],
"lines": 86,
"statements": 85.93,
"functions": 82.43,
"branches": 76.06,
"exclude": [
"coverage",
"test"
]
}
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
"posttest": "aud --production",
"tests-only": "tape 'test/**/*.js'",
"testling": "testling --html > test.html",
"coverage": "covert test/*.js",
"coverage:quiet": "covert test/*.js --quiet",
"lint": "eslint .",
"postlint": "es-shim-api --bound",
"version": "auto-changelog && git add CHANGELOG.md",
Expand Down Expand Up @@ -58,14 +56,14 @@
"@ljharb/eslint-config": "^16.0.0",
"aud": "^1.1.0",
"auto-changelog": "^2.0.0",
"covert": "^1.1.1",
"eslint": "^6.8.0",
"evalmd": "0.0.19",
"foreach": "^2.0.5",
"function-bind": "^1.1.1",
"functions-have-names": "^1.2.1",
"has-strict-mode": "^1.0.0",
"indexof": "^0.0.1",
"nyc": "^10.3.2",
"safe-publish-latest": "^1.1.4",
"tape": "^5.0.0-next.5"
},
Expand Down

0 comments on commit a659f75

Please sign in to comment.