diff --git a/test/installation/src/browsers.spec.ts b/test/installation/src/browsers.spec.ts index 83111f3a..ed274f07 100644 --- a/test/installation/src/browsers.spec.ts +++ b/test/installation/src/browsers.spec.ts @@ -28,6 +28,7 @@ describe('`@puppeteer/browsers`', () => { const result = spawnSync('npx', ['@puppeteer/browsers', '--help'], { // npx is not found without the shell flag on Windows. shell: process.platform === 'win32', + cwd: this.sandbox, }); assert.strictEqual(result.status, 0); assert.ok(