Revert "Delete BuilderMockV0"
This is a combination of 3 commits: * Revertion of commitb39a683339. * Revertion of commit61aea8db3d. * Revertion of commit5f666aef66.
This commit is contained in:
parent
3b16eaabe7
commit
00774b62fd
5 changed files with 48 additions and 11 deletions
|
|
@ -120,7 +120,7 @@ describe('TxProposal', function() {
|
|||
builderObj: b.toObj(),
|
||||
inputChainPaths: ['m/1'],
|
||||
});
|
||||
}).should.throw('Invalid or Incompatible Backup Detected');
|
||||
}).should.throw('Invalid');
|
||||
});
|
||||
it('sets force opts', function() {
|
||||
var b = new FakeBuilder();
|
||||
|
|
@ -134,7 +134,7 @@ describe('TxProposal', function() {
|
|||
};
|
||||
(function() {
|
||||
txp = TxProposal.fromObj(o,{pepe:100});
|
||||
}).should.throw('Invalid or Incompatible Backup Detected');
|
||||
}).should.throw('Invalid tx proposal: no ins');
|
||||
o.builderObj.opts.should.deep.equal({juan:1, pepe:100, feeSat:undefined, fee:undefined});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue