From cec3d6b54891c7944ee4d21c84dcd4dabf3f61a2 Mon Sep 17 00:00:00 2001 From: Abhinav Adduri Date: Thu, 13 Jul 2017 13:47:43 -0700 Subject: [PATCH] added one more assert to checksum test --- test/frontend/frontend.test.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/frontend/frontend.test.js b/test/frontend/frontend.test.js index af820bfe..1e286008 100644 --- a/test/frontend/frontend.test.js +++ b/test/frontend/frontend.test.js @@ -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();