added one more assert to checksum test
This commit is contained in:
parent
b07671719c
commit
cec3d6b548
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue