Skip to content

Commit

Permalink
test: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Aug 24, 2022
1 parent 9e0a9f4 commit 154bfa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/pnpm/test/run.ts
Expand Up @@ -156,7 +156,7 @@ testOnPosix('pnpm run with preferSymlinkedExecutables true', async () => {

const result = execPnpmSync(['run', 'build'])

expect(result.stdout).toContain(`project${path.sep}node_modules${path.sep}.pnpm${path.sep}node_modules`)
expect(result.stdout.toString()).toContain(`project${path.sep}node_modules${path.sep}.pnpm${path.sep}node_modules`)
})

testOnPosix('pnpm run with preferSymlinkedExecutables and custom virtualStoreDir', async () => {
Expand All @@ -175,5 +175,5 @@ testOnPosix('pnpm run with preferSymlinkedExecutables and custom virtualStoreDir

const result = execPnpmSync(['run', 'build'])

expect(result.stdout).toContain(`${path.sep}foo${path.sep}bar${path.sep}node_modules`)
expect(result.stdout.toString()).toContain(`${path.sep}foo${path.sep}bar${path.sep}node_modules`)
})

0 comments on commit 154bfa9

Please sign in to comment.