Jest provides two different implementations of fake timers - legacy and modern. The legacy implementation works with
RRule, while the modern one does not, as it uses a strict instance check. Compare the toString result of the object if
the value is not a Date instance.
Thanks for contributing to rrule!
To submit a pull request, please verify that you have done the following:
[x] Merged in or rebased on the latest master commit
[x] Linked to an existing bug or issue describing the bug or feature you're
addressing
[ ] Written one or more tests showing that your change works as advertised
Jest provides two different implementations of fake timers - legacy and modern. The legacy implementation works with RRule, while the modern one does not, as it uses a strict instance check. Compare the toString result of the object if the value is not a Date instance.
Thanks for contributing to
rrule
!To submit a pull request, please verify that you have done the following:
master
commit