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 3fd6259 commit add52e1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
13 changes: 13 additions & 0 deletions .nycrc
@@ -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"
]
}
5 changes: 2 additions & 3 deletions package.json
Expand Up @@ -24,9 +24,8 @@
"pretest": "npm run lint && evalmd README.md",
"test": "npm run tests-only",
"posttest": "npx aud --production",
"tests-only": "tape 'test/**/*.js'",
"tests-only": "nyc tape 'test/**/*.js'",
"testling": "testling --html > test.html",
"coverage": "covert test/*.js",
"lint": "eslint .",
"postlint": "es-shim-api --bound",
"version": "auto-changelog && git add CHANGELOG.md",
Expand Down Expand Up @@ -57,13 +56,13 @@
"@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",
"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 add52e1

Please sign in to comment.