Created
July 28, 2021 22:53
-
-
Save yanfengliu/c50c12c7794b0fb0f461a1ce6ca55a00 to your computer and use it in GitHub Desktop.
npm scripts for Cypress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
"scripts": { | |
"start": "serve -p 5000", | |
"cy:run:chrome": "cypress run --browser=chrome", | |
"test:chrome": "start-server-and-test start http://localhost:5000 cy:run:chrome" | |
}, | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment