From d51760622644425eb11a7524d767843cbc248213 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 29 Sep 2017 01:31:18 +0400 Subject: Minor fixing of tests --- src/test.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/test.js b/src/test.js index 5d64f33..76ca127 100644 --- a/src/test.js +++ b/src/test.js @@ -28,15 +28,18 @@ describe('iii-client:', () => { assert.equal(data, decrypt(encrypted).toString()); }); - it('connect():', () => { + it('connect():', (done) => { connect(uuid, (request) => { + console.info(request); assert.isObject(request); + done(); }); }); - it('send():', () => { + it('send():', (done) => { send(cuid, text, (request) => { assert.isObject(request); + done(); }); }); }); \ No newline at end of file -- cgit v1.2.3