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,8 +1,8 @@
var assert = require('assert')
var crypto = require('..').crypto
var crypto = require('../src/crypto')
var ECKey = require('..').ECKey
var ECPubKey = require('..').ECPubKey
var ECKey = require('../src/eckey')
var ECPubKey = require('../src/ecpubkey')
describe('ECKey', function() {
describe('constructor', function() {