Skip to content

Commit 7e208ae

Browse files
committed
Force the NODE_ENV for the try scenarios test
1 parent 6eb50a8 commit 7e208ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/smoke-tests/try-scenarios.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ describe('try-scenarios', () => {
2323
let addonDir = join(tmpDir, addonName);
2424

2525
function runInAddon(command: string) {
26-
const env = { ...scenario.env };
26+
const env = { ...scenario.env, NODE_ENV: 'development' };
2727
console.log(`Running \`${command}\` with ${JSON.stringify(env)}`);
2828
return execa({ shell: true, preferLocal: true, cwd: addonDir, env })(command);
2929
}

0 commit comments

Comments
 (0)