From 7890eb5477bcf671b77ea161be1e00eaf39ef336 Mon Sep 17 00:00:00 2001 From: Theo Date: Fri, 2 Feb 2018 23:14:54 -0500 Subject: [PATCH] Update index.js --- test/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/index.js b/test/index.js index 3c6790c..e16fad7 100644 --- a/test/index.js +++ b/test/index.js @@ -34,7 +34,7 @@ test('Unit methods `to` and `from` return a function that returns the correct ty }) test('Unit method `to` whith time units', t => { - t.deepEqual(ms.to(s)(1234), [1]) + t.deepEqual(ms.to(s)(1234), [1.234]) t.deepEqual( ms.to(h,s)(3723000), [1, 123] @@ -64,4 +64,4 @@ test('`to` and `from` should cancel out', t => { 44625000 ) t.end() -}) \ No newline at end of file +})