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

Codemod some expiration tests to waitForExpired #26491

Merged
merged 1 commit into from
Mar 27, 2023

Commits on Mar 27, 2023

  1. Codemod some expiration tests to waitForExpired

    Continuing my journey to migrate all the Scheduler flush* methods to
    async versions of the same helpers.
    
    `unstable_flushExpired` is a rarely used helper that is only meant to
    be used to test a very particular implementation detail (update
    starvation prevention, or what we sometimes refer to as "expiration").
    
    I've prefixed the new helper with `unstable_`, too, to indicate that
    our tests should almost always prefer one of the other patterns instead.
    acdlite committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    23637ba View commit details
    Browse the repository at this point in the history