Skip to content

Commit

Permalink
test/cryptocompare: historical price changed…
Browse files Browse the repository at this point in the history
  • Loading branch information
jprichardson committed Nov 22, 2016
1 parent 6c210c4 commit fd4b7cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/cryptocompare.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ test('priceHistorical()', function (t) {
cc.priceHistorical('BTC', ['USD', 'CNY'], oneYearAgo).then(prices => {
t.strictEqual(prices[0].Symbol, 'USD', 'prices[0].Symbol === USD')
t.strictEqual(typeof prices[0].Price, 'number', 'prices[0].Price is a number')
t.is(prices[0].Price, 321.68, 'prices[0] is set')
// t.is(prices[0].Price, 321.68)
t.is(prices[0].Price, 323.65)
t.strictEqual(prices[1].Symbol, 'CNY')
t.strictEqual(typeof prices[1].Price, 'number')
t.end()
Expand Down

0 comments on commit fd4b7cb

Please sign in to comment.