From 685e0c5a953e0b52afe76b16dc0c2f7b4b57531f Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Thu, 20 Nov 2014 18:29:02 -0300 Subject: [PATCH] fix tests for opcode --- test/opcode.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/opcode.js b/test/opcode.js index e531c9a..eb65420 100644 --- a/test/opcode.js +++ b/test/opcode.js @@ -1,10 +1,14 @@ +'use strict'; + var should = require('chai').should(); -var Opcode = require('../lib/opcode'); +var bitcore = require('..'); +var Opcode = bitcore.Opcode; describe('Opcode', function() { it('should create a new Opcode', function() { var opcode = new Opcode(5); + should.exist(opcode); }); it('should convert to a string with this handy syntax', function() {