test: fixed Node.js deprecation warning (#3864)

This commit is contained in:
Max Schmitt 2020-09-14 16:54:21 +02:00 committed by GitHub
parent d7f3812123
commit 1421ed99ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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