housekeeping: integrate Cypress in main test script (#4847)
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
"lint": "eslint --cache --ext '.js,.jsx' src test",
|
"lint": "eslint --cache --ext '.js,.jsx' src test",
|
||||||
"lint-errors": "eslint --cache --quiet --ext '.js,.jsx' src test",
|
"lint-errors": "eslint --cache --quiet --ext '.js,.jsx' src test",
|
||||||
"lint-fix": "eslint --cache --ext '.js,.jsx' src test --fix",
|
"lint-fix": "eslint --cache --ext '.js,.jsx' src test --fix",
|
||||||
"test": "run-s just-test-in-node lint-errors",
|
"test": "run-s just-test-in-node e2e-cypress lint-errors",
|
||||||
"test-in-node": "run-s lint-errors just-test-in-node",
|
"test-in-node": "run-s lint-errors just-test-in-node",
|
||||||
"just-test-in-node": "mocha --require test/setup.js --recursive --compilers js:babel-core/register --require source-map-support test/core test/components test/bugs test/swagger-ui-dist-package test/xss",
|
"just-test-in-node": "mocha --require test/setup.js --recursive --compilers js:babel-core/register --require source-map-support test/core test/components test/bugs test/swagger-ui-dist-package test/xss",
|
||||||
"just-check-coverage": "nyc npm run just-test-in-node",
|
"just-check-coverage": "nyc npm run just-test-in-node",
|
||||||
|
|||||||
Reference in New Issue
Block a user