Does jest have an equivalent expect check to sinon's calledOnceWithExactly

前端 未结 0 1020
北恋
北恋 2021-02-05 09:16

Sinon has a convenient assert method calledOnceWithExactly to verify that the stub/mock was called only one time with the given arguments.

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