Manuel Araoz
11 years ago
11 changed files with 76 additions and 20 deletions
@ -0,0 +1,5 @@ |
|||
|
|||
// load modules needed for testing in the browser
|
|||
|
|||
var fs = require('fs'); |
|||
|
@ -0,0 +1,28 @@ |
|||
'use strict'; |
|||
|
|||
var chai = require('chai'); |
|||
var bitcore = require('../bitcore'); |
|||
|
|||
var should = chai.should(); |
|||
|
|||
var EncodedDataModule = bitcore.EncodedData; |
|||
var EncodedData; |
|||
|
|||
describe('EncodedData', function() { |
|||
it('should initialze the main object', function() { |
|||
should.exist(EncodedDataModule); |
|||
}); |
|||
it('should be able to create class', function() { |
|||
EncodedData = EncodedDataModule.class(); |
|||
should.exist(EncodedData); |
|||
}); |
|||
it('should be able to create EncodedData object', function() { |
|||
var ed = new EncodedData(); |
|||
should.exist(ed); |
|||
}); |
|||
}); |
|||
|
|||
|
|||
|
|||
|
|||
|
@ -1,3 +1,4 @@ |
|||
'use strict'; |
|||
var assert = require('assert'); |
|||
var fs = require('fs'); |
|||
|
Loading…
Reference in new issue