Clear interval before assert

This commit is contained in:
Kevin Sawicki 2016-12-06 09:25:55 -08:00
parent c2f516067f
commit b29f7b9acb

View file

@ -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()
})
})