From 31c383dff3c3aafb9c3c807a24b175945c085b06 Mon Sep 17 00:00:00 2001 From: Aabishkar KC Date: Mon, 17 Oct 2022 12:11:45 -0400 Subject: [PATCH] Set NODE_ENV test for test script (#12) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fb5f3c7..0b95fd3 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lic_direct": "npx @adsk/adsk-npm-license-puller --path . --app-name 'splash-screen' --verbose --about-box ./license_output/about-box_direct.html --about-box-type desktop --year 2022 --paos ./license_output/paos_direct.csv", "lic_transitive": "npx @adsk/adsk-npm-license-puller --path . --app-name 'splash-screen' --verbose --about-box ./license_output/about-box_transitive.html --about-box-type desktop --transitive --year 2022 --paos ./license_output/paos_transitive.csv", "generate_license": "npm run lic_direct && npm run lic_transitive", - "test:unit": "jest tests/App.test.js", + "test:unit": "NODE_ENV=test jest tests/App.test.js", "test:e2e": "playwright test tests/e2e.test.js", "eject": "react-scripts eject" },