fix: Fix cypress hostname

This commit is contained in:
SPT-dev 2023-03-02 21:12:23 -05:00
parent 1188cf173e
commit 030e7b8cb5

View File

@ -37,7 +37,7 @@
"build": "react-scripts build", "build": "react-scripts build",
"test:jest": "react-scripts test", "test:jest": "react-scripts test",
"cy:start:app": "cross-env BROWSER=none react-scripts -r @cypress/instrument-cra start", "cy:start:app": "cross-env BROWSER=none react-scripts -r @cypress/instrument-cra start",
"cy:start:wait": "start-server-and-test cy:start:app http://localhost:3000", "cy:start:wait": "start-server-and-test cy:start:app http://0.0.0.0:3000",
"cy:open": "yarn run cy:start:wait -- \"cypress open\"", "cy:open": "yarn run cy:start:wait -- \"cypress open\"",
"cy:run": "yarn run cy:start:wait -- \"cypress run\"", "cy:run": "yarn run cy:start:wait -- \"cypress run\"",
"eject": "react-scripts eject" "eject": "react-scripts eject"