mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 07:51:55 +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",
|
||||
"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…
Reference in New Issue
Block a user