You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 20, 2019. It is now read-only.
Ran into this conflict on our project. We're using the JQuery UI datepicker for a calendar control. After Timecop.install() is called, the datepicker will no longer "show". As soon as Timecop.uninstall() is called, the seemingly-batched show commands to the datepicker finally get sent and the calendar control shows.
Timecop.install();$("#search_case_filed_start_date").datepicker("show");// does not show, no exceptions or JS errors shown in browserTimecop.uninstall();// finally shows after uninstall
The text was updated successfully, but these errors were encountered:
Timecop doesn't modify the global setTimeout and setInterval implementations. It's possible that it should.
Sinon's date faking does and we've had good results with it in front-end testing (both in the browser and via PhantomJS). There is a sinon npm module. I'd give it a shot.
I'd be happy to take a pull request to fix this. I haven't actually abandoned this project, but I'm leaning towards deprecating it in favor of Sinon.
Ran into this conflict on our project. We're using the JQuery UI datepicker for a calendar control. After
Timecop.install()
is called, the datepicker will no longer "show". As soon asTimecop.uninstall()
is called, the seemingly-batched show commands to the datepicker finally get sent and the calendar control shows.The text was updated successfully, but these errors were encountered: