test: add cypress foundation (#2903) [skip ci]

This commit is contained in:
Ryan Cohen
2022-08-15 08:34:38 +09:00
committed by GitHub
parent db898db9f2
commit 22ec058431
27 changed files with 848 additions and 17 deletions

View File

@@ -15,7 +15,10 @@
"migration:run": "ts-node --project server/tsconfig.json ./node_modules/typeorm/cli.js migration:run",
"format": "prettier --loglevel warn --write --cache .",
"format:check": "prettier --check --cache .",
"prepare": "husky install"
"prepare": "husky install",
"cypress:open": "cypress open",
"cypress:prepare": "ts-node --files server/scripts/prepareTestDb.ts",
"cypress:build": "yarn build && yarn cypress:prepare"
},
"repository": {
"type": "git",
@@ -121,6 +124,7 @@
"babel-plugin-react-intl-auto": "^3.3.0",
"commitizen": "^4.2.4",
"copyfiles": "^2.4.1",
"cypress": "^10.4.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.21.0",
"eslint-config-next": "^12.2.3",