Added yarn test:unit to Portal

refs https://github.com/TryGhost/Toolbox/issues/426

- this ensures we provide a `test:unit` command for CI
- this probably needs changing in the future - not sure yet
This commit is contained in:
Daniel Lockyer 2022-10-05 15:17:01 +07:00
parent 22c85df66f
commit 2a40f72f36
No known key found for this signature in database

View File

@ -38,6 +38,7 @@
"build:bundle": "webpack --config webpack.config.js",
"test": "react-scripts test",
"test:ci": "yarn test --watchAll=false --coverage",
"test:unit": "yarn test:ci",
"eject": "react-scripts eject",
"lint": "eslint src --ext .js --cache",
"preship": "yarn lint",