test: fixed Node.js deprecation warning (#3864)
This commit is contained in:
parent
d7f3812123
commit
1421ed99ba
|
|
@ -24,7 +24,6 @@ playwrightFixtures.defineWorkerFixture('domain', async ({ }, test) => {
|
|||
local.run(() => { });
|
||||
let err;
|
||||
local.on('error', e => err = e);
|
||||
local.enter();
|
||||
await test(null);
|
||||
if (err)
|
||||
throw err;
|
||||
|
|
|
|||
Loading…
Reference in a new issue