mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Added command to run tests once with coverage
- this is so we can see coverage reports easily
This commit is contained in:
parent
252ddda907
commit
f63de95317
1 changed files with 4 additions and 0 deletions
|
@ -37,6 +37,7 @@
|
|||
"build:combined": "node ./scripts/build-combined.js",
|
||||
"build:bundle": "webpack --config webpack.config.js",
|
||||
"test": "react-scripts test",
|
||||
"test:ci": "yarn test --watchAll=false --coverage",
|
||||
"eject": "react-scripts eject",
|
||||
"lint": "eslint src --ext .js --cache",
|
||||
"preship": "yarn lint",
|
||||
|
@ -66,6 +67,9 @@
|
|||
"last 1 safari version"
|
||||
]
|
||||
},
|
||||
"jest": {
|
||||
"coverageReporters": ["text-summary", "html"]
|
||||
},
|
||||
"devDependencies": {
|
||||
"chalk": "4.1.1",
|
||||
"chokidar": "3.5.2",
|
||||
|
|
Loading…
Reference in a new issue