diff --git a/test/test.Opcode.js b/test/test.Opcode.js index 4d6336b..fa78f5e 100644 --- a/test/test.Opcode.js +++ b/test/test.Opcode.js @@ -21,9 +21,11 @@ describe('Opcode', function() { should.exist(oc); }); it.skip('should be able to create some constants', function() { + // TODO: test works in node but not in browser for (var i in Opcode.map) { console.log('var '+i + ' = ' + Opcode.map[i] + ';'); eval('var '+i + ' = ' + Opcode.map[i] + ';'); + console.log(eval(i)); } should.exist(OP_VER); should.exist(OP_HASH160);