JEST: React Native Mocking ES6 Class. Receiving TypeError: “” is not a function

后端 未结 0 1953
眼角桃花
眼角桃花 2021-01-03 14:18

I\'m trying to mock my ES6 Class via JEST, but am receiving TypeError: this.A.foo is not a function

Below is how my following classes are st

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