Mock alert as side effect of a function with Jest

前端 未结 0 1729
误落风尘
误落风尘 2021-02-19 01:06

I\'m trying to learn testing in general and Jest in particular. I\'m going through strange cases just to have an idea of how to handle them.

I have this super basic examp

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