From ab15aa5af80cfe7f0aea4eabd913ae1bc7b3a9db Mon Sep 17 00:00:00 2001 From: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com> Date: Wed, 25 Oct 2023 15:15:08 +0200 Subject: [PATCH] ci: use the installed version rather than downloading (#11248) --- test/installation/src/browsers.spec.ts | 1 + 1 file changed, 1 insertion(+) 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(