Skip to content

Commit 3f72f07

Browse files
John Kleinschmidtcodebytere
authored andcommitted
test: remove unneeded console.log (electron#20424)
(cherry picked from commit 4945a9f)
1 parent e26fa90 commit 3f72f07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec-main/api-web-contents-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,7 @@ describe('webContents module', () => {
11191119
it(`should not crash when invoked synchronously inside ${e.name} handler`, async () => {
11201120
const contents = (webContents as any).create() as WebContents
11211121
const originalEmit = contents.emit.bind(contents)
1122-
contents.emit = (...args) => { console.log(args); return originalEmit(...args) }
1122+
contents.emit = (...args) => { return originalEmit(...args) }
11231123
contents.once(e.name as any, () => (contents as any).destroy())
11241124
const destroyed = emittedOnce(contents, 'destroyed')
11251125
contents.loadURL(serverUrl + e.url)

0 commit comments

Comments
 (0)