Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Using sinon.useFakeTimers prevents doc from saving (in 5.0) #6074
Do you want to request a feature or report a bug?
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
From testing I noticed that it arrives up to the pre validate hooks but not further
What is the expected behavior?
Please mention your node.js, mongoose and MongoDB version.
Yeah this is a feature of sinon,
Since sinon is so popular, we'll switch back to using
@paglias granted. What I usually do is just have a