test: close window before destroying browserView (#20411)
This commit is contained in:
parent
80af35e0cd
commit
509587eb81
1 changed files with 2 additions and 2 deletions
|
@ -27,11 +27,11 @@ describe('BrowserView module', () => {
|
||||||
})
|
})
|
||||||
|
|
||||||
afterEach(async () => {
|
afterEach(async () => {
|
||||||
|
await closeWindow(w)
|
||||||
|
|
||||||
if (view) {
|
if (view) {
|
||||||
view.destroy()
|
view.destroy()
|
||||||
}
|
}
|
||||||
|
|
||||||
await closeWindow(w)
|
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('BrowserView.destroy()', () => {
|
describe('BrowserView.destroy()', () => {
|
||||||
|
|
Loading…
Reference in a new issue