mirror of
https://github.com/Permissionless-Software-Foundation/bch-js.git
synced 2026-09-21 16:51:59 -07:00
Fixing tests
This commit is contained in:
Generated
+6
-6
@@ -4298,9 +4298,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/caniuse-lite": {
|
"node_modules/caniuse-lite": {
|
||||||
"version": "1.0.30001761",
|
"version": "1.0.30001762",
|
||||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001761.tgz",
|
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001762.tgz",
|
||||||
"integrity": "sha512-JF9ptu1vP2coz98+5051jZ4PwQgd2ni8A+gYSN7EA7dPKIMf0pDlSUxhdmVOaV3/fYK5uWBkgSXJaRLr4+3A6g==",
|
"integrity": "sha512-PxZwGNvH7Ak8WX5iXzoK1KPZttBXNPuaOvI2ZYU7NrlM+d9Ov+TUvlLOBNGzVXAntMSMMlJPd+jY6ovrVjSmUw==",
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
@@ -13491,9 +13491,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/qs": {
|
"node_modules/qs": {
|
||||||
"version": "6.14.0",
|
"version": "6.14.1",
|
||||||
"resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz",
|
"resolved": "https://registry.npmjs.org/qs/-/qs-6.14.1.tgz",
|
||||||
"integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==",
|
"integrity": "sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"side-channel": "^1.1.0"
|
"side-channel": "^1.1.0"
|
||||||
|
|||||||
+3
-3
@@ -21,7 +21,7 @@ describe('#X402 Integration', () => {
|
|||||||
|
|
||||||
assert.strictEqual(bchjs.wif, '')
|
assert.strictEqual(bchjs.wif, '')
|
||||||
assert.strictEqual(bchjs.paymentAmountSats, 10000)
|
assert.strictEqual(bchjs.paymentAmountSats, 10000)
|
||||||
assert.strictEqual(bchjs.bchServerURL, 'https://bch.fullstack.cash/v6/')
|
assert.strictEqual(bchjs.bchServerURL, 'https://bch.fullstack.cash/v6')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('should accept wif in config', () => {
|
it('should accept wif in config', () => {
|
||||||
@@ -60,7 +60,7 @@ describe('#X402 Integration', () => {
|
|||||||
|
|
||||||
assert.strictEqual(bchjs.wif, '')
|
assert.strictEqual(bchjs.wif, '')
|
||||||
assert.strictEqual(bchjs.paymentAmountSats, 10000)
|
assert.strictEqual(bchjs.paymentAmountSats, 10000)
|
||||||
assert.strictEqual(bchjs.bchServerURL, 'https://bch.fullstack.cash/v6/')
|
assert.strictEqual(bchjs.bchServerURL, 'https://bch.fullstack.cash/v6')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('should read WIF from BCHJSWIF environment variable', () => {
|
it('should read WIF from BCHJSWIF environment variable', () => {
|
||||||
@@ -168,7 +168,7 @@ describe('#X402 Integration', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
assert.strictEqual(bchjs.restURL, customRestURL)
|
assert.strictEqual(bchjs.restURL, customRestURL)
|
||||||
assert.strictEqual(bchjs.bchServerURL, 'https://bch.fullstack.cash/v6/')
|
assert.strictEqual(bchjs.bchServerURL, 'https://bch.fullstack.cash/v6')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user