mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 06:02:57 +03:00
chore: minor code rearrangement (#10650)
This commit is contained in:
parent
d66b7aab3b
commit
f05252874a
@ -119,9 +119,8 @@ async function createLoader(opts: { [key: string]: any }): Promise<Loader> {
|
|||||||
overrides.maxFailures = 1;
|
overrides.maxFailures = 1;
|
||||||
overrides.timeout = 0;
|
overrides.timeout = 0;
|
||||||
overrides.workers = 1;
|
overrides.workers = 1;
|
||||||
}
|
|
||||||
if (opts.debug)
|
|
||||||
process.env.PWDEBUG = '1';
|
process.env.PWDEBUG = '1';
|
||||||
|
}
|
||||||
|
|
||||||
const loader = new Loader(defaultConfig, overrides);
|
const loader = new Loader(defaultConfig, overrides);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user