SyntaxError: Unexpected token '<' on shallow render with Enzyme and Jest in React

后端 未结 0 608
無奈伤痛
無奈伤痛 2021-01-19 16:09

I am running tests with jest and enzyme in my React application, and while my simple sanity check test (2+2 expect 4) works, this error is thrown when I go to shallow render

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