diff options
author | Valentin Popov <info@valentineus.link> | 2017-09-29 00:31:18 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2017-09-29 00:31:18 +0300 |
commit | d51760622644425eb11a7524d767843cbc248213 (patch) | |
tree | 2ac825214816b3da01a82ecd905ef17a48d1b12c /src/test.js | |
parent | d27bc8b359d3c52488c5ba5d01d00a8c0dedb5ff (diff) | |
download | iii-client-d51760622644425eb11a7524d767843cbc248213.tar.xz iii-client-d51760622644425eb11a7524d767843cbc248213.zip |
Minor fixing of tests
Diffstat (limited to 'src/test.js')
-rw-r--r-- | src/test.js | 7 |
1 files 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 |