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 () => {
|
||||
await closeWindow(w)
|
||||
|
||||
if (view) {
|
||||
view.destroy()
|
||||
}
|
||||
|
||||
await closeWindow(w)
|
||||
})
|
||||
|
||||
describe('BrowserView.destroy()', () => {
|
||||
|
|
Loading…
Reference in a new issue