Jest Test fails even when the function passes

后端 未结 0 514
鱼传尺愫
鱼传尺愫 2020-12-09 01:30

The jest case fails even when the function when executes returns true. In the test case I am asserting toBeTruthy as the function returns true for the same argument.

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