ci: use the installed version rather than downloading (#11248)

This commit is contained in:
Nikolay Vitkov 2023-10-25 15:15:08 +02:00 committed by GitHub
parent f2ce480285
commit ab15aa5af8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(