fix: setting process.env to child_pocess (#24)
This commit is contained in:
parent
16ddff4fe0
commit
ea496c8572
|
@ -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());
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue