feat(getPsffppPrice): New endpoint to get PSFFPP pin price

This commit is contained in:
Chris Troutner
2024-09-03 19:28:22 -07:00
parent 01a4d0f1aa
commit b34040cd08
2 changed files with 45 additions and 0 deletions
+9
View File
@@ -52,6 +52,15 @@ describe('#price', () => {
assert.property(result, 'CAD')
})
})
describe('#getPsffppPrice', () => {
it('should get the price of BCH in several currencies', async () => {
const result = await bchjs.Price.getPsffppPrice()
// console.log(result)
assert.isNumber(result)
})
})
})
function sleep (ms) {