Test fixed
This commit is contained in:
parent
1d68a69361
commit
1903885c9d
1 changed files with 13 additions and 10 deletions
|
|
@ -62,7 +62,10 @@ describe('Network / Async', function() {
|
||||||
it('should be able to broadcast', function() {
|
it('should be able to broadcast', function() {
|
||||||
var n = createN('9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08');
|
var n = createN('9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08');
|
||||||
var spy = sinon.spy();
|
var spy = sinon.spy();
|
||||||
n.send(null, 'hello', spy);
|
var dummy = {
|
||||||
|
dummy: true
|
||||||
|
};
|
||||||
|
n.send(null, dummy, spy);
|
||||||
spy.calledOnce.should.be.true;
|
spy.calledOnce.should.be.true;
|
||||||
});
|
});
|
||||||
it('should call _sendToOne for a copayer', function(done) {
|
it('should call _sendToOne for a copayer', function(done) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue