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

fix: incorrectly setting the name of currently running concurrent test #14335

Merged
merged 2 commits into from
Jul 21, 2023

Commits on Jul 16, 2023

  1. fix: incorrectly setting the name of currently running concurrent test

    Test functions lose their async context when throttled by p-limit. This
    caused snapshot matchers not to work properly when the number of
    concurrent tests in a file was greater than the maxConcurrency config
    option.
    
    The fix is to set AsyncLocalStorage inside the throttled function.
    dmitri-gb committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    b1c20ce View commit details
    Browse the repository at this point in the history
  2. add CHANGELOG entry

    dmitri-gb committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    7a174cd View commit details
    Browse the repository at this point in the history