From 28e54f2b1ceaa4c8158c28c57a6e36444e09a33d Mon Sep 17 00:00:00 2001 From: Thomas <4159106+dtslvr@users.noreply.github.com> Date: Sun, 19 Feb 2023 21:20:34 +0100 Subject: [PATCH] Pass .env.example to test script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 74292f7da..937dad37e 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "start:prod": "yarn database:migrate && yarn database:seed && node main", "start:server": "nx run api:serve --watch", "start:storybook": "nx run ui:storybook", - "test": "nx test", + "test": "npx dotenv-cli -e .env.example -- nx test", "test:single": "nx test --test-file portfolio-calculator-novn-buy-and-sell.spec.ts", "ts-node": "ts-node", "update": "nx migrate latest",