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

feat: prefer importing jest globals for specific types #1568

Merged
merged 2 commits into from
Apr 27, 2024

Commits on Apr 26, 2024

  1. feat: prefer importing jest globals for specific types

    Accessing the `jest` global in ESM must be done either through
    `import.meta.jest` or by importing it from `@jest/globals`. The latter
    is useful while migrating to ESM because the former is not accessible
    in non-ESM.
    
    This adds an option to specify the types of globals for which we want
    to enforce the import.
    tomquist committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    cb9d9fd View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2024

  1. Configuration menu
    Copy the full SHA
    94047cb View commit details
    Browse the repository at this point in the history