Skip to content

Commit 5971228

Browse files
chore: rename npm script test:cover to test:coverage
1 parent 2d6e190 commit 5971228

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ node_js:
44
install:
55
- npm install
66
script:
7-
# Lint last commit from history
7+
# Lint last commit message from history
88
- npx commitlint --from=HEAD~1
99
- npm run lint
1010
- npm run dtslint
11-
- npm run test:cover
11+
- npm run test:coverage
1212
- npm run build
1313
- npm run benchmark
1414
after_script:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ $ npm test
207207
Run tests with coverage:
208208

209209
```sh
210-
$ npm run test:cover
210+
$ npm run test:coverage
211211
```
212212

213213
Lint files:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"prepublishOnly": "npm run build",
1818
"release": "standard-version --no-verify",
1919
"test": "mocha",
20-
"test:cover": "istanbul cover _mocha -- -R spec \"test/**/*\""
20+
"test:coverage": "istanbul cover _mocha -- -R spec \"test/**/*\""
2121
},
2222
"repository": {
2323
"type": "git",

0 commit comments

Comments
 (0)