From fd4b7cb3d1d1e408e9c7fbd1ad58583733fb6673 Mon Sep 17 00:00:00 2001 From: JP Richardson Date: Tue, 22 Nov 2016 11:11:25 -0600 Subject: [PATCH] =?UTF-8?q?test/cryptocompare:=20historical=20price=20chan?= =?UTF-8?q?ged=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/cryptocompare.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/cryptocompare.test.js b/test/cryptocompare.test.js index c6beb79..5d28c25 100644 --- a/test/cryptocompare.test.js +++ b/test/cryptocompare.test.js @@ -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()