aboutsummaryrefslogtreecommitdiff
path: root/src/test.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.js')
-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