mirror of
https://github.com/Permissionless-Software-Foundation/bch-js.git
synced 2026-09-22 00:52:01 -07:00
15 lines
387 B
JavaScript
15 lines
387 B
JavaScript
const assert = require("assert")
|
|
const BCHJS = require("../../src/bch-js")
|
|
const bchjs = new BCHJS()
|
|
|
|
describe("#price", () => {
|
|
describe("#current", () => {
|
|
describe("#single currency", () => {
|
|
it("should get current price for single currency", async () => {
|
|
const result = await bchjs.Price.current("usd")
|
|
assert.notEqual(0, result)
|
|
})
|
|
})
|
|
})
|
|
})
|