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

refactor: move jest transformer class to package entry #2122

Merged
merged 2 commits into from Nov 11, 2020
Merged

refactor: move jest transformer class to package entry #2122

merged 2 commits into from Nov 11, 2020

Commits on Nov 10, 2020

  1. refactor: move jest transformer class to package entry

    BREAKING CHANGE:
    - One currently refers type in `jest.config.js`
    ```
    /** @typedef {import('ts-jest')} */
    module.exports = {
      //...
    }
    ```
    
    should change to
    ```
    /** @typedef {import('ts-jest/dist/types')} */
    module.exports = {
      //...
    }
    ```
    
    - Remove possibilities to import `mocked`, `createJestPreset`, `pathsToModuleNameMapper` from package entry. One should change to
    ```
    import { mocked, createJestPreset, pathsToModuleNameMapper` } from 'ts-jest/utils'
    ```
    ahnpnl committed Nov 10, 2020
    Copy the full SHA
    99468a3 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    0eaf3df View commit details
    Browse the repository at this point in the history