babel@7 and jest configuration

后端 未结 4 2036
孤街浪徒
孤街浪徒 2021-02-05 07:07

Maybe you may help me? I try to configure jest to use babel@7 So I have:

\"jest\": \"^23.4.1\",
\"@babel/core\": \"^7.0.0-beta.54\",
\"babel-7-jest\": \"^21.3.3\         


        
4条回答
  •  爱一瞬间的悲伤
    2021-02-05 07:34

    4 days ago Facebook added babel 7 support for jest, so no need use the babel 7 bridge anymore.

    For more information: https://github.com/facebook/jest/blob/master/README.md#using-babel

提交回复
热议问题