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

Support TypeScript 4.x #1887

Closed
known-as-bmf opened this issue Aug 20, 2020 · 2 comments · Fixed by #1889
Closed

Support TypeScript 4.x #1887

known-as-bmf opened this issue Aug 20, 2020 · 2 comments · Fixed by #1889
Labels
🚀 Feature Request new suggested feature

Comments

@known-as-bmf
Copy link

known-as-bmf commented Aug 20, 2020

🚀 Feature Proposal

TypeScript 4.0.2 has just been released and ts-jest now outputs a warning:

ts-jest[versions] (WARN) Version 4.0.2 of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=2.7.0 <4.0.0). Please do not report issues in ts-jest if you are using unsupported versions.

I know it says that I should not report an issue but this warning is outputted to stderr and can break some CIs that consider anything outputted to stderr a failure.

I also know that you can disable this warning via an environment variable, but it is not ideal/recommended.

As long as the environment variable TS_JEST_DISABLE_VER_CHECKER stays, the warning message will no longer show. This can lead to unexpected errors due to the usage of incompatible versions’ dependencies. Use this environment variable with precautions.

It doesnt seem like this new version has hard breaking changes, so it should be supported out of the box.

Motivation

No more warning messages that could break some CIs.

Example

N/A

@known-as-bmf known-as-bmf added the 🚀 Feature Request new suggested feature label Aug 20, 2020
@ahnpnl ahnpnl added this to the 26.3 milestone Aug 21, 2020
@ahnpnl ahnpnl pinned this issue Aug 21, 2020
@erfanium
Copy link

When will this be released? I'm waiting

@ahnpnl
Copy link
Collaborator

ahnpnl commented Aug 23, 2020

Hi, somewhere next week will be :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 Feature Request new suggested feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants