How to set correct namespace in jest for a module attached to html in browser for testing a function's call to another function in that module?

后端 未结 0 560
遇见更好的自我
遇见更好的自我 2020-12-14 18:33

The question is formulated this way as I\'m able to step into tested code in IDE and the actual code runs as expected, but the test fails.

There\'s a javascript file

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