tests: use filepaths directly
After a long IRC discussion, it was decided that the use of direct filepaths instead of the module is a more pure form of testing , although it may provide less overall coverage than the mixed integration style imports used previously. This will need to be remedied by further integration testing in /test/integration.
This commit is contained in:
parent
e27c97a791
commit
6c0eebe94b
16 changed files with 48 additions and 47 deletions
test/integration
|
@ -1,12 +1,13 @@
|
|||
var assert = require('assert');
|
||||
var assert = require('assert')
|
||||
|
||||
var Address = require('../../src/address');
|
||||
var ECKey = require('../../src/eckey').ECKey;
|
||||
var T = require('../../src/transaction');
|
||||
var Transaction = T.Transaction;
|
||||
var Script = require('../../src/script');
|
||||
var networks = require('../../src/networks');
|
||||
var crypto = require('../../src/crypto');
|
||||
var bitcoin = require('../../')
|
||||
var crypto = bitcoin.crypto
|
||||
var networks = bitcoin.networks
|
||||
|
||||
var Address = bitcoin.Address
|
||||
var ECKey = bitcoin.ECKey
|
||||
var Transaction = bitcoin.Transaction
|
||||
var Script = bitcoin.Script
|
||||
|
||||
var helloblock = require('helloblock-js')({
|
||||
network: 'testnet'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue