mirror of
https://github.com/timvisee/send.git
synced 2026-03-05 13:39:54 -05:00
added one more assert to checksum test
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user