Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(aio): run e2e tests in production mode #21470

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions aio/package.json
Expand Up @@ -19,6 +19,7 @@
"test": "yarn check-env && ng test",
"pree2e": "yarn check-env && yarn ~~update-webdriver",
"e2e": "ng e2e --no-webdriver-update",
"e2e-prod": "yarn e2e --environment=dev --target=production",
"preinstall": "node ../tools/yarn/check-yarn.js",
"presetup": "yarn install --frozen-lockfile && yarn ~~check-env && yarn boilerplate:remove",
"setup": "yarn aio-use-npm && yarn example-use-npm",
Expand Down
3 changes: 2 additions & 1 deletion scripts/ci/test-aio.sh
Expand Up @@ -33,7 +33,8 @@ source ${thisDir}/_travis-fold.sh

# Run e2e tests
travisFoldStart "test.aio.e2e"
yarn e2e
# Use `production` mode to catch issues introduced by build optimizations.
yarn e2e-prod
travisFoldEnd "test.aio.e2e"


Expand Down