ci: use the installed version rather than downloading (#11248)
This commit is contained in:
parent
f2ce480285
commit
ab15aa5af8
@ -28,6 +28,7 @@ describe('`@puppeteer/browsers`', () => {
|
|||||||
const result = spawnSync('npx', ['@puppeteer/browsers', '--help'], {
|
const result = spawnSync('npx', ['@puppeteer/browsers', '--help'], {
|
||||||
// npx is not found without the shell flag on Windows.
|
// npx is not found without the shell flag on Windows.
|
||||||
shell: process.platform === 'win32',
|
shell: process.platform === 'win32',
|
||||||
|
cwd: this.sandbox,
|
||||||
});
|
});
|
||||||
assert.strictEqual(result.status, 0);
|
assert.strictEqual(result.status, 0);
|
||||||
assert.ok(
|
assert.ok(
|
||||||
|
Loading…
Reference in New Issue
Block a user