Skip to content

Commit

Permalink
Fix tests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Jul 9, 2023
1 parent 2c1a0b3 commit d532624
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,14 +195,15 @@ each(
},
)

test('Can fire global binaries', async (t) => {
// Serial to avoid "too many open files" on Windows
test.serial('Can fire global binaries', async (t) => {
const { childProcess } = await nvexeca(HELPER_VERSION, 'npm', ['--version'])
const { stdout } = await childProcess

t.not(stdout, '')
})

test('Can fire local binaries', async (t) => {
test.serial('Can fire local binaries', async (t) => {
const { childProcess } = await runWithoutPath({})
const { stdout } = await childProcess

Expand Down

0 comments on commit d532624

Please sign in to comment.