how to mock an es6 constructor with jest

前端 未结 0 1126
无人共我
无人共我 2021-02-05 19:18

after reading loads of jest docs, i have been unable to get a simple setup to work. i have a very simple example, that throws the error:

expect(received).toHaveBe         


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