阅读背景:

[Redux-Observable && Unit testing] Testing the output of epics

来源:互联网 

Epics can be unit-tested just like any other function in your application - they have a very specific set of inputs (the action$ stream) and the output is always an Observable. We can subscribe to this output Observable to assert that the actions going back into the Redux are the ones we expect.Epics can be unit-tested just like any other fu




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: