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

@ -16,7 +16,7 @@
"prerender": "ng run test-app:prerender",
"cy.open": "cypress open",
"cy.run": "cypress run",
"test": "concurrently \"npm run start\" \"wait-on http-get://localhost:4200 && npm run cy.run\" --kill-others --success first",
"test": "concurrently \"npm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && npm run cy.run\" --kill-others --success first",
"test.watch": "concurrently \"npm run start\" \"wait-on http-get://localhost:4200 && npm run cy.open\" --kill-others --success first"
},
"dependencies": {