Clear interval before assert
This commit is contained in:
parent
c2f516067f
commit
b29f7b9acb
1 changed files with 1 additions and 1 deletions
|
@ -1619,8 +1619,8 @@ describe('browser-window module', function () {
|
|||
w.webContents.openDevTools({mode: 'bottom'})
|
||||
|
||||
ipcMain.once('answer', function (event, message) {
|
||||
assert.equal(message.runtimeId, 'foo')
|
||||
clearInterval(showPanelIntervalId)
|
||||
assert.equal(message.runtimeId, 'foo')
|
||||
done()
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue