update cypress

This commit is contained in:
syuilo 2022-06-11 15:08:31 +09:00 committed by GitHub
parent dd83d772dd
commit 536ec44b14

View File

@ -19,7 +19,7 @@
"watch": "npm run dev", "watch": "npm run dev",
"dev": "node ./scripts/dev.js", "dev": "node ./scripts/dev.js",
"lint": "node ./scripts/lint.js", "lint": "node ./scripts/lint.js",
"cy:open": "cypress open --config-file=cypress.config.ts", "cy:open": "cypress open --browser --e2e --config-file=cypress.config.ts",
"cy:run": "cypress run", "cy:run": "cypress run",
"e2e": "start-server-and-test start:test http://localhost:61812 cy:run", "e2e": "start-server-and-test start:test http://localhost:61812 cy:run",
"mocha": "cd packages/backend && cross-env NODE_ENV=test TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true TS_NODE_PROJECT=\"./test/tsconfig.json\" npx mocha", "mocha": "cd packages/backend && cross-env NODE_ENV=test TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true TS_NODE_PROJECT=\"./test/tsconfig.json\" npx mocha",