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)
|
assert(isUnsafe)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
fr.on('safe', () => {
|
||||||
|
// This event should not be emitted.
|
||||||
|
assert.fail();
|
||||||
|
})
|
||||||
|
|
||||||
fr.download().then(() => {
|
fr.download().then(() => {
|
||||||
assert.fail();
|
assert.fail();
|
||||||
done();
|
done();
|
||||||
|
|
Loading…
Reference in New Issue