Expect count to be 0
This commit is contained in:
parent
9a4783bf34
commit
f24baffc79
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ describe('session module', function () {
|
|||
it('clears localstorage data', function (done) {
|
||||
ipcMain.on('count', function (event, count) {
|
||||
ipcMain.removeAllListeners('count')
|
||||
assert(!count)
|
||||
assert.equal(count, 0)
|
||||
done()
|
||||
})
|
||||
w.loadURL('file://' + path.join(fixtures, 'api', 'localstorage.html'))
|
||||
|
|
Loading…
Reference in a new issue