Browse Source

Merge pull request #459 from braydonf/test/node4

Tests: Run tests with Node 4 and 0.12
activeAddress
Ivan Socolsky 9 years ago
parent
commit
0977c2081b
  1. 2
      .travis.yml
  2. 5
      test/integration/server.js

2
.travis.yml

@ -1,6 +1,8 @@
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
install:
- npm install
after_success:

5
test/integration/server.js

@ -1271,12 +1271,13 @@ describe('Wallet service', function() {
var requestPubKey = reqPrivKey.toPublicKey();
var xPrivKey = TestData.copayers[0].xPrivKey_44H_0H_0H;
var sig = helpers.signRequestPubKey(requestPubKey, xPrivKey);
var requestPubKeyStr = requestPubKey.toString();
var sig = helpers.signRequestPubKey(requestPubKeyStr, xPrivKey);
var copayerId = Model.Copayer._xPubToCopayerId(TestData.copayers[0].xPubKey_44H_0H_0H);
opts = {
copayerId: copayerId,
requestPubKey: requestPubKey,
requestPubKey: requestPubKeyStr,
signature: sig,
};
ws = new WalletService();

Loading…
Cancel
Save