mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-03-11 10:03:47 +00:00
Make cypress test work in nodejs 18
This commit is contained in:
@@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user