Make cypress test work in nodejs 18

This commit is contained in:
Przemek Więch
2025-01-11 10:26:27 +01:00
parent 066d37321b
commit 5a22e58cc4
2 changed files with 52 additions and 90 deletions

View File

@@ -65,7 +65,7 @@
"prettier": "^2.2.1",
"react-scripts": "^5.0.1",
"run-script-os": "^1.1.6",
"start-server-and-test": "^1.12.1",
"start-server-and-test": "^2.0.9",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.2.3"
},
@@ -83,7 +83,7 @@
"predeploy-wikitree": "npm run build",
"deploy-wikitree": "./deploy-wikitree.sh",
"cy:run": "cypress run",
"cy:start-and-run": "start-server-and-test start http://localhost:3000 cy:run"
"cy:start-and-run": "BROWSER=none start-server-and-test start 3000 cy:run"
},
"homepage": ".",
"browserslist": [