fixing broken tests

This commit is contained in:
Chris Troutner
2025-11-26 11:09:40 -08:00
parent 98576e5ff2
commit ca0fcdd60a
2 changed files with 2 additions and 2 deletions
@@ -24,7 +24,7 @@ describe('#fulcrum-use-cases.js', () => {
}
// Create a mock BCHJS instance with stubbed sortAllTxs method
const mockBchjs = new BCHJS()
const mockBchjs = new BCHJS({ restURL: 'http://localhost:5942/v6/' })
if (!mockBchjs.Electrumx) {
mockBchjs.Electrumx = {}
}
+1 -1
View File
@@ -32,7 +32,7 @@ describe('#slp-use-cases.js', () => {
}
// Create mock BCHJS
mockBchjs = new BCHJS()
mockBchjs = new BCHJS({ restURL: 'http://localhost:5942/v6/' })
mockBchjs.Electrumx = {
txData: sandbox.stub().resolves({
details: {