From 3f72f07a7f5b6b483dcc6cb707e590f1b9f3046f Mon Sep 17 00:00:00 2001 From: John Kleinschmidt Date: Sun, 6 Oct 2019 16:00:38 -0400 Subject: [PATCH] test: remove unneeded console.log (#20424) (cherry picked from commit 4945a9fce9f76a23ffb4386b8e689f5a97686bea) --- spec-main/api-web-contents-spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec-main/api-web-contents-spec.ts b/spec-main/api-web-contents-spec.ts index 691e65da8cb6..35ef2e17554e 100644 --- a/spec-main/api-web-contents-spec.ts +++ b/spec-main/api-web-contents-spec.ts @@ -1119,7 +1119,7 @@ describe('webContents module', () => { it(`should not crash when invoked synchronously inside ${e.name} handler`, async () => { const contents = (webContents as any).create() as WebContents const originalEmit = contents.emit.bind(contents) - contents.emit = (...args) => { console.log(args); return originalEmit(...args) } + contents.emit = (...args) => { return originalEmit(...args) } contents.once(e.name as any, () => (contents as any).destroy()) const destroyed = emittedOnce(contents, 'destroyed') contents.loadURL(serverUrl + e.url)