Mocking Segment Analytics with Jest in TS

后端 未结 0 1097
孤独总比滥情好
孤独总比滥情好 2020-12-22 23:33

I\'m trying to write a unit test that checks if the .track method of the Analytics is called. For some reason the test keeps failing, although calling the function via http

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