bitcore/test/test.Wallet.js

29 lines
518 B
JavaScript

'use strict';
var chai = require('chai');
var bitcore = require('../bitcore');
var should = chai.should();
var WalletModule = bitcore.Wallet;
var Wallet;
describe('Wallet', function() {
it('should initialze the main object', function() {
should.exist(WalletModule);
});
it('should be able to create class', function() {
Wallet = WalletModule.class();
should.exist(Wallet);
});
it('should be able to create instance', function() {
var s = new Wallet();
should.exist(s);
});
});