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:
Daniel Cousens 2014-05-13 17:55:53 +10:00
parent e27c97a791
commit 6c0eebe94b
16 changed files with 48 additions and 47 deletions

View file

@ -1,10 +1,10 @@
var assert = require('assert')
var networks = require('..').networks
var networks = require('../src/networks')
var Address = require('..').Address
var ECKey = require('..').ECKey
var Transaction = require('..').Transaction
var Script = require('..').Script
var Address = require('../src/address')
var ECKey = require('../src/eckey')
var Transaction = require('../src/transaction').Transaction
var Script = require('../src/script')
var fixtureTxes = require('./fixtures/mainnet_tx')
var fixtureTx1Hex = fixtureTxes.prevTx