mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Clear interval before assert
This commit is contained in:
@@ -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()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user