Merge branch 'master' into ct-unstable

This commit is contained in:
Chris Troutner
2021-03-08 17:33:25 -08:00
4 changed files with 118 additions and 18067 deletions
+8
View File
@@ -33,6 +33,14 @@ describe('#price', () => {
assert.isNumber(result)
})
})
describe('#getBchUsd', () => {
it('should get the USD price of BCH', async () => {
const result = await bchjs.Price.getBchUsd()
console.log(result)
assert.isNumber(result)
})
})
describe('#rates', () => {
it('should get the price of BCH in several currencies', async () => {