From e7de2b9a1ba81463db4f696249193d51754ec864 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 9 Oct 2017 19:36:14 +0400 Subject: Test update --- src/test.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/test.js') diff --git a/src/test.js b/src/test.js index 3e6ce3a..f0d1431 100644 --- a/src/test.js +++ b/src/test.js @@ -1,4 +1,5 @@ import { assert } from 'chai'; +import generator from 'uuid'; import { decryptJSON, @@ -9,8 +10,7 @@ import { } from './index'; describe('iii-client:', () => { - var uuid = '109cd867-0ef3-4473-af71-7543a9b2fccd'; - var cuid = '0340feab-b09e-4960-96e9-c9518b1fb157'; + var uuid = generator.v4(); var text = 'Hello, World!'; var data = JSON.stringify({ text }); @@ -36,8 +36,7 @@ describe('iii-client:', () => { }); it('send():', (done) => { - send(cuid, text, (request) => { - console.info(request); + send(uuid, text, (request) => { assert.isObject(request); done(); }); -- cgit v1.2.3