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 +})