diff --git a/__tests__/e2e.test.ts b/__tests__/e2e.test.ts index 8048e9f5..c04d34c9 100644 --- a/__tests__/e2e.test.ts +++ b/__tests__/e2e.test.ts @@ -7,7 +7,7 @@ const fixturesTempDir = '__tests__/fixtures/__temp'; beforeAll( async () => { const { stdout: pnpmPackTarballPath } = await execa`pnpm pack`; - await execa`pnpm add --global $(pwd)/${pnpmPackTarballPath}`; + await execa`pnpm add --global ${process.cwd()}/${pnpmPackTarballPath}`; await pMap( [ {