@abcpros/bitcore-wallet-service
Version:
A service for Mutisig HD Bitcoin Wallets
31 lines (25 loc) • 806 B
JavaScript
;
var _ = require('lodash');
var chai = require('chai');
var sinon = require('sinon');
var should = chai.should();
var { Advertisement } = require('../../ts_build/lib/model/advertisement');
var Bitcore = require('@abcpros/bitcore-lib');
describe("#Advertisement", function() {
describe("#create", function() {
it("should create Advertisement", function() {
var x = Advertisement.create({ title: "Test Title"});
should.exist(x);
});
});
describe("#fromObj", function() {
it("should create Advertisement", function() {
var x = Advertisement.fromObj({ title: "Test Title" });
should.exist(x);
});
});
// describe("#toObject", function() {
// var x = Advertisement.toObject({ title: "Test Title" });
// should.exist(x);
// })
});