vesln/timekeeper

timekeeper.freeze() without params causes wrong behaviour

Closed this issue · 1 comments

Hello,

Currently, this code causes wrong behavior because timekeeper.freeze() not designed to work without arguments.

const tk = require('timekeeper')
tk.freeze()

console.log(Date.now()) // NaN

I've added the PR to fix this issue: #40
Feel free to consider to merge it

LinusU commented

Fixed in 2.3.0