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(transformer): support hoisting when using @jest/globals #1937

Merged
merged 1 commit into from
Sep 10, 2020
Merged

feat(transformer): support hoisting when using @jest/globals #1937

merged 1 commit into from
Sep 10, 2020

Commits on Sep 10, 2020

  1. feat(transformer): support hoisting when using @jest/globals

    Support hoisting when using `@jest/globals`, applying to:
    
    - named import, e.g. `import { jest } from '@jest/globals'`
    
    - aliased named import, e.g. `import {jest as aliasedJest} from '@jest/globals'`
    
    - namespace import, e.g `import * as JestGlobals from '@jest/globals'`
    
    Closes #1593
    ahnpnl committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    da9c7b9 View commit details
    Browse the repository at this point in the history