diff --git a/test/cli/test-app.js b/test/cli/test-app.js index 78e7d5e6..2363669d 100644 --- a/test/cli/test-app.js +++ b/test/cli/test-app.js @@ -163,7 +163,11 @@ test('`fusion test-app` environment variables', async t => { const args = `test-app --dir=${dir} --configPath=../../../build/jest-config.js --match=environment-variables`; const cmd = `require('${runnerPath}').run('${args}')`; - const response = await exec(`node -e "${cmd}"`); + const response = await exec(`node -e "${cmd}"`, { + env: Object.assign({}, process.env, { + NODE_ENV: 'development', + }), + }); t.equal(countTests(response.stderr), 2, 'ran 2 tests'); t.end();