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(config): type checking js files based on checkJs #2283

Merged
merged 1 commit into from Jan 15, 2021
Merged

feat(config): type checking js files based on checkJs #2283

merged 1 commit into from Jan 15, 2021

Commits on Jan 15, 2021

  1. feat(config): type checking js files based on checkJs

    When `allowJs` is `true`, `ts-jest` will process `js` files and also perform type checking. However, since default behavior of TypeScript is not doing type checking on `js` files (`checkJs` default value is `false`), we should respect that behavior.
    
    BREAKING CHANGE
    If one currently relies on type check for `js` files, please set `checkJs: true` in your tsconfig
    ahnpnl committed Jan 15, 2021
    Copy the full SHA
    18f41ab View commit details
    Browse the repository at this point in the history