react jest babel config : Support for the experimental syntax 'jsx' isn't currently enabled

前端 未结 0 1148
北荒
北荒 2020-12-11 17:20

I am trying to make unit tests with Jest for my reactJs project. When I want to test the rendering of a component, I am getting the following error :

SyntaxEr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题