sinon Stub second instance call

后端 未结 0 1418
南笙
南笙 2020-12-01 23:52

I am trying to write a test.

Where the first call should work as usual. But it should give pre-defined response on the second call.

Suppose we have two DB call

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