mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 16:01:40 +03: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
@ -7,7 +7,7 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "echo \"Implement me!\"",
|
"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",
|
"lint": "eslint . --ext .js --cache",
|
||||||
"posttest": "yarn lint"
|
"posttest": "yarn lint"
|
||||||
},
|
},
|
||||||
@ -19,6 +19,7 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"c8": "7.7.2",
|
||||||
"mocha": "8.3.2",
|
"mocha": "8.3.2",
|
||||||
"should": "13.2.3",
|
"should": "13.2.3",
|
||||||
"sinon": "10.0.0",
|
"sinon": "10.0.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user