Closed john-griffin closed 4 months ago
Followup to https://github.com/vitest-dev/vscode/pull/309
When running the extension on a fresh install I could see the NODE_ENV by default is coming through as true. If we want to match the behavior of startVitest in https://github.com/vitest-dev/vitest/blob/5c7e9ca05491aeda225ce4616f06eefcd068c0b4/packages/vitest/src/node/cli/cli-api.ts#L40 we should default to test.
NODE_ENV
true
startVitest
test
Thanks 👍🏻
Omg, bad typo... Thanks for the fix!
Followup to https://github.com/vitest-dev/vscode/pull/309
When running the extension on a fresh install I could see the
NODE_ENV
by default is coming through astrue
. If we want to match the behavior ofstartVitest
in https://github.com/vitest-dev/vitest/blob/5c7e9ca05491aeda225ce4616f06eefcd068c0b4/packages/vitest/src/node/cli/cli-api.ts#L40 we should default totest
.