mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 06:30:53 +03:00
added one more assert to checksum test
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user