Skip to content

Commit 60c398b

Browse files
committed
test: remove unnecessary test
1 parent 8451458 commit 60c398b

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

spec-main/chromium-spec.ts

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -476,37 +476,6 @@ describe('chromium features', () => {
476476
expect(preferences.javascript).to.be.false()
477477
})
478478

479-
it('handles cycles when merging the parent options into the child options', (done) => {
480-
const foo = {} as any
481-
foo.bar = foo
482-
foo.baz = {
483-
hello: {
484-
world: true
485-
}
486-
}
487-
foo.baz2 = foo.baz
488-
const w = new BrowserWindow({ show: false, foo: foo } as any)
489-
490-
w.loadFile(path.join(fixturesPath, 'pages', 'window-open.html'))
491-
w.webContents.once('new-window', (event, url, frameName, disposition, options) => {
492-
expect(options.show).to.be.false()
493-
expect((options as any).foo).to.deep.equal({
494-
bar: undefined,
495-
baz: {
496-
hello: {
497-
world: true
498-
}
499-
},
500-
baz2: {
501-
hello: {
502-
world: true
503-
}
504-
}
505-
})
506-
done()
507-
})
508-
})
509-
510479
it('defines a window.location getter', async () => {
511480
let targetURL: string
512481
if (process.platform === 'win32') {

0 commit comments

Comments
 (0)