diff --git a/index.test.js b/index.test.js index 9725109..a6f1485 100644 --- a/index.test.js +++ b/index.test.js @@ -19,5 +19,5 @@ test('wait 500 ms', async() => { test('test runs', () => { process.env['INPUT_MILLISECONDS'] = 500; const ip = path.join(__dirname, 'index.js'); - console.log(cp.execSync(`node ${ip}`).toString()); + console.log(cp.execSync(`node ${ip}`, { env: process.env }).toString()); })