Ts-jest: jest installed has not been tested with ts-jest warning

Created on 15 Feb 2019  路  8Comments  路  Source: kulshekhar/ts-jest

Wondering how I can disable this warning on tests:
screen shot 2019-02-15 at 12 02 13 pm

typescript: 3.3.3
ts-jest: 23.10.5
jest: 24.1.0

jest.config.js

  globals: {
    __PATH_PREFIX__: "",
    'ts-jest': {
      diagnostics: false
    }
  },

Most helpful comment

any workaround for these warning?

All 8 comments

Ts-jest does not yet support Jest 24. There are a few other issues tracking this progress.

any workaround for these warning?

@GeeWee it is over a year later and I am still getting

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

in my tests. After updated to jest 26 I am now getting an issue where I get Cannot find module './App.vue'.. And I am not sure if this is related

@vegerot please use 25.5.1-alpha.0 by installing ts-jest@next :)

Every major version of ts-jest, we limit compatibility like ts-jest 25 is compatible with jest 25, ts-jest 24 is compatible with jest 24.

@ahnpnl Thank you so much! But wouldn't 25.5.1-alpha.0 actually be the alpha for 26?

But I did try installing that and on first glance it worked! I know jest-26 just came out, so I shouldn't expect compatibility right away, but do you have estimates for when jest-26 support will come out?

no actually 25.5.1-alpha.0 doesn't contain jest 26 support. First ts-jest wants to solve all the issues related to 25.5.0 first before releasing v26. If everything is smooth, somewhere next week v26 will be released.

25.5.1 will be released shortly to solve some issues. 25.5.1-alpha.0 is a test version.

Algu茅m desabilitou a mensagem "ts-jest[versions] (WARN) Version 26.0.1 of jest installed has not been tested with ts-jes" ?

@davijalmeida83 you only can disable it by using the right compatible version. jest 25 ts-jest 25, jest 26 ts-jest 26

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Slessi picture Slessi  路  3Comments

TKJohn picture TKJohn  路  4Comments

AlexGellert picture AlexGellert  路  4Comments

RiJung picture RiJung  路  4Comments

jbreckmckye picture jbreckmckye  路  3Comments