0
Fork 0
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:
Hannah Wolfe 2021-09-30 12:17:09 +01:00
parent 252ddda907
commit f63de95317

View file

@ -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",