aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-09-29 00:31:18 +0300
committerValentin Popov <info@valentineus.link>2017-09-29 00:31:18 +0300
commitd51760622644425eb11a7524d767843cbc248213 (patch)
tree2ac825214816b3da01a82ecd905ef17a48d1b12c
parentd27bc8b359d3c52488c5ba5d01d00a8c0dedb5ff (diff)
downloadiii-client-d51760622644425eb11a7524d767843cbc248213.tar.xz
iii-client-d51760622644425eb11a7524d767843cbc248213.zip
Minor fixing of tests
-rw-r--r--src/test.js7
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