From 4dd9f60f8c12cb102afe8466a7e885cf8e44288c Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Thu, 20 Nov 2014 18:37:33 -0300 Subject: [PATCH] fix tests for txin --- test/txin.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/test/txin.js b/test/txin.js index 6a4a5b9..e9738e9 100644 --- a/test/txin.js +++ b/test/txin.js @@ -1,8 +1,11 @@ +'use strict'; + var should = require('chai').should(); -var Script = require('../lib/script'); -var Txin = require('../lib/txin'); -var Varint = require('../lib/varint'); -var BufferReader = require('../lib/bufferreader'); +var bitcore = require('..'); +var Script = bitcore.Script; +var Txin = bitcore.Txin; +var Varint = bitcore.Varint; +var BufferReader = bitcore.BufferReader; describe('Txin', function() {