fix: make 'setParentWindow' compatible under Windows (#15775)
This commit is contained in:
parent
4250f84272
commit
649633bbb7
4 changed files with 23 additions and 24 deletions
|
@ -2957,12 +2957,6 @@ describe('BrowserWindow module', () => {
|
|||
})
|
||||
|
||||
describe('win.setParentWindow(parent)', () => {
|
||||
before(function () {
|
||||
if (process.platform === 'win32') {
|
||||
this.skip()
|
||||
}
|
||||
})
|
||||
|
||||
beforeEach(() => {
|
||||
if (c != null) c.destroy()
|
||||
c = new BrowserWindow({ show: false })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue