fix(price): Fixing broken integration test

This commit is contained in:
Chris Troutner
2020-10-20 18:18:18 -07:00
parent c5361e0516
commit eb3bc7bcff
2 changed files with 12 additions and 2 deletions
+11 -1
View File
@@ -17,7 +17,17 @@ describe("#price", () => {
const result = await bchjs.Price.getUsd()
// console.log(result)
assert.isNumber(result.usd)
assert.isNumber(result)
})
})
describe("#rates", () => {
it("should get the price of BCH in several currencies", async () => {
const result = await bchjs.Price.rates()
// console.log(result)
assert.property(result, "USD")
assert.property(result, "CAD")
})
})
})