Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail when a timer is not available in the context #491

Merged
merged 2 commits into from Feb 12, 2024

Commits on Feb 10, 2024

  1. Fail when a timer is not available in the context

    This makes FakeTimers stricter by failing when trying to fake
    a timer or object that is not present on the (chosen) global object.
    
    To make transitioning easier, we provide a flag to revert to the
    behavior where missing timers were (mostly) ignored.
    fatso83 committed Feb 10, 2024
    Configuration menu
    Copy the full SHA
    dd831b1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4667c29 View commit details
    Browse the repository at this point in the history