added one more assert to checksum test

This commit is contained in:
Abhinav Adduri 2017-07-13 13:47:43 -07:00
parent b07671719c
commit cec3d6b548

View File

@ -319,6 +319,11 @@ describe('File Receiver', function() {
assert(isUnsafe)
})
fr.on('safe', () => {
// This event should not be emitted.
assert.fail();
})
fr.download().then(() => {
assert.fail();
done();