test: fix BrowserWindow spec to await its result (#20612)
This commit is contained in:
parent
2b890827ef
commit
9f23bb581e
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ describe('BrowserWindow module', () => {
|
|||
})
|
||||
|
||||
it('should return a promise that resolves', async () => {
|
||||
expect(w.loadURL('about:blank')).to.eventually.be.fulfilled
|
||||
await expect(w.loadURL('about:blank')).to.eventually.be.fulfilled()
|
||||
})
|
||||
|
||||
it('should return a promise that rejects on a load failure', async () => {
|
||||
|
|
Loading…
Reference in a new issue