Skip to content
Myr

Fix slow test (#576)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by ehmicky · committed by GitHub · parent f4b8b3a · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:test/test.js+1 added-1 removed
109 unmodified lines
110 const envPaths = stdout.split(path.delimiter);111 t.true(envPaths.some(envPath => envPath.endsWith('.bin')));112});113114test('execPath option', async t => {114test.serial('execPath option', async t => {115 const {path: execPath} = await getNode('16.0.0');116 const {stdout} = await execa('node', ['-p', 'process.env.Path || process.env.PATH'], {preferLocal: true, execPath});117 t.true(stdout.includes('16.0.0'));118});
145 unmodified lines