better way to tell jest to use custom env

This commit is contained in:
David Lechner
2022-06-02 18:45:28 -05:00
committed by David Lechner
parent 02118daa5a
commit 4299b36e6c
2 changed files with 3 additions and 5 deletions
+1 -3
View File
@@ -18,11 +18,9 @@
"name": "Debug Tests",
"type": "node",
"request": "launch",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/craco",
"env": { "CI": "true" },
"args": ["test", "--runInBand", "--no-cache", "--env=./test/env.js"],
"args": ["scripts/test.js"],
"cwd": "${workspaceRoot}",
"protocol": "inspector",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},