mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Added c8 coverage to package-json
tests
no issue - this commit adds the c8 dependency to the `package-json`, and prepends it to the test alias so we can see the coverage in tests - note: we're apparently already at 100%!
This commit is contained in:
parent
763875a15b
commit
a81d90b126
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
"main": "index.js",
|
||||
"scripts": {
|
||||
"dev": "echo \"Implement me!\"",
|
||||
"test": "NODE_ENV=testing mocha './test/**/*_spec.js'",
|
||||
"test": "NODE_ENV=testing c8 --check-coverage mocha './test/**/*_spec.js'",
|
||||
"lint": "eslint . --ext .js --cache",
|
||||
"posttest": "yarn lint"
|
||||
},
|
||||
|
@ -19,6 +19,7 @@
|
|||
"access": "public"
|
||||
},
|
||||
"devDependencies": {
|
||||
"c8": "7.7.2",
|
||||
"mocha": "8.3.2",
|
||||
"should": "13.2.3",
|
||||
"sinon": "10.0.0",
|
||||
|
|
Loading…
Add table
Reference in a new issue