Expect count to be 0

This commit is contained in:
Kevin Sawicki 2017-03-27 10:21:01 -07:00
parent 9a4783bf34
commit f24baffc79

View file

@ -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'))