Browse Source

fix tests for preconditions

patch-2
Manuel Araoz 10 years ago
parent
commit
3775d3c08a
  1. 1
      index.js
  2. 7
      test/util/preconditions.js

1
index.js

@ -23,6 +23,7 @@ bitcore.util = {};
bitcore.util.bitcoin = require('./lib/util/bitcoin');
bitcore.util.buffer = require('./lib/util/buffer');
bitcore.util.js = require('./lib/util/js');
bitcore.util.preconditions = require('./lib/util/preconditions');
// transport
bitcore.transport = {};

7
test/util/preconditions.js

@ -2,9 +2,10 @@
var should = require('chai').should();
var errors = require('../../lib/errors');
var $ = require('../../lib/util/preconditions');
var PrivateKey = require('../../lib/privatekey');
var bitcore = require('../..');
var errors = bitcore.errors;
var $ = bitcore.util.preconditions;
var PrivateKey = bitcore.PrivateKey;
describe('preconditions', function() {

Loading…
Cancel
Save