Updated unit tests

This commit is contained in:
Chris Troutner
2025-12-21 11:58:23 -07:00
parent f1f2bf42d9
commit 1989b72b2a
+5 -5
View File
@@ -20,8 +20,8 @@ describe('#X402 Integration', () => {
})
assert.strictEqual(bchjs.wif, '')
assert.strictEqual(bchjs.paymentAmountSats, 20000)
assert.strictEqual(bchjs.bchServerURL, 'https://bch.fullstack.cash')
assert.strictEqual(bchjs.paymentAmountSats, 10000)
assert.strictEqual(bchjs.bchServerURL, 'https://bch.fullstack.cash/v6/')
})
it('should accept wif in config', () => {
@@ -59,8 +59,8 @@ describe('#X402 Integration', () => {
})
assert.strictEqual(bchjs.wif, '')
assert.strictEqual(bchjs.paymentAmountSats, 20000)
assert.strictEqual(bchjs.bchServerURL, 'https://bch.fullstack.cash')
assert.strictEqual(bchjs.paymentAmountSats, 10000)
assert.strictEqual(bchjs.bchServerURL, 'https://bch.fullstack.cash/v6/')
})
it('should read WIF from BCHJSWIF environment variable', () => {
@@ -168,7 +168,7 @@ describe('#X402 Integration', () => {
})
assert.strictEqual(bchjs.restURL, customRestURL)
assert.strictEqual(bchjs.bchServerURL, 'https://bch.fullstack.cash')
assert.strictEqual(bchjs.bchServerURL, 'https://bch.fullstack.cash/v6/')
})
})