Skip to content
This repository has been archived by the owner on Jan 20, 2020. It is now read-only.

Commit

Permalink
Upgrade and relax dependencies (#241)
Browse files Browse the repository at this point in the history
* Upgrade and relax core dependencies

* Upgrade mocha and nock dev dependencies

* Close out a errant websocket server in test suite
  • Loading branch information
rmm5t authored and fb55 committed Jan 20, 2018
1 parent 20d1292 commit 8943010
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@
}
],
"dependencies": {
"bintrees": "1.0.1",
"num": "0.3.0",
"request": "2.81.0",
"ws": "3.0.0"
"bintrees": "^1.0.1",
"num": "^0.3.0",
"request": "^2.81.0",
"ws": "^4.0.0"
},
"description": "Client for the GDAX API",
"devDependencies": {
"eslint": "^4.0.0",
"husky": "^0.13.4",
"lint-staged": "^3.6.1",
"mocha": "3.4.2",
"nock": "9.0.13",
"mocha": "^5.0.0",
"nock": "^9.0.13",
"prettier": "^1.9.2"
},
"directories": {
Expand Down
3 changes: 3 additions & 0 deletions tests/websocket.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ suite('WebsocketClient', () => {
assert.deepEqual(msg.channels, ['user', 'ticker', 'heartbeat']);
assert(msg.timestamp);
assert(msg.signature);

server.close();
done();
});
Expand All @@ -157,6 +158,8 @@ suite('WebsocketClient', () => {
client.once('error', err => {
assert.equal(err.message, 'test error');
assert.equal(err.reason, 'because error');

server.close();
done();
});
});
Expand Down

0 comments on commit 8943010

Please sign in to comment.