test(): run e2e tests in production mode (#24812)

This commit is contained in:
Liam DeBeasi
2022-02-18 14:21:43 -05:00
committed by GitHub
parent 2fc2de5177
commit 0a8f44359a
9 changed files with 1936 additions and 69 deletions

View File

@ -6,7 +6,7 @@
"scripts": {
"build": "vue-cli-service build",
"test:unit": "vue-cli-service test:unit",
"test:e2e": "concurrently \"npm run start\" \"wait-on http-get://localhost:8080 && npm run cypress\" --kill-others --success first",
"test:e2e": "concurrently \"npm run start -- --mode production\" \"wait-on http-get://localhost:8080 && npm run cypress\" --kill-others --success first",
"lint": "vue-cli-service lint",
"cypress": "node_modules/.bin/cypress run --headless --browser chrome",
"start": "vue-cli-service serve",