From 7dcaae846547a48bf1cbe1fe4241ac661e20d71f Mon Sep 17 00:00:00 2001 From: Tim Donohue Date: Mon, 6 Nov 2023 10:25:08 -0600 Subject: [PATCH] Ensure e2e tests run in production mode --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f8644477900..3e23de10151 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "test:headless": "ng test --source-map=true --watch=false --configuration test --browsers=ChromeHeadless --code-coverage", "lint": "ng lint", "lint-fix": "ng lint --fix=true", - "e2e": "ng e2e", + "e2e": "cross-env NODE_ENV=production ng e2e", "clean:dev:config": "rimraf src/assets/config.json", "clean:coverage": "rimraf coverage", "clean:dist": "rimraf dist",