How do I go about stubbing a Task in Ember.js?

前端 未结 0 975
自闭症患者
自闭症患者 2020-12-23 06:16

I am using Sinon with Ember.js Concurrency Tasks and am trying to stub the task in a test.

The code looks something like this:

component .ts file:

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