Skip to content

Commit 4945a9f

Browse files
author
John Kleinschmidt
committed
test: remove unneeded console.log
1 parent 7f320ee commit 4945a9f

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)