fix skipped Opcode test

This commit is contained in:
Manuel Araoz 2014-03-19 18:10:04 -03:00
parent f2be0f386c
commit 2323e2a67a
1 changed files with 1 additions and 3 deletions

View File

@ -20,12 +20,10 @@ describe('Opcode', function() {
var oc = new Opcode();
should.exist(oc);
});
it.skip('should be able to create some constants', function() {
it('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);