You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
519 B
27 lines
519 B
'use strict';
|
|
|
|
var chai = chai || require('chai');
|
|
var bitcore = bitcore || require('../bitcore');
|
|
var should = chai.should();
|
|
|
|
var BlockModule = bitcore.Block;
|
|
var Block;
|
|
|
|
describe('Block', function() {
|
|
it('should initialze the main object', function() {
|
|
should.exist(BlockModule);
|
|
});
|
|
it('should be able to create class', function() {
|
|
Block = BlockModule;
|
|
should.exist(Block);
|
|
});
|
|
it('should be able to create instance', function() {
|
|
var p = new Block();
|
|
should.exist(p);
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|