Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个定期产生 call(fetch, url) 的 redux-saga
我想要一个黄瓜功能来测试这个应用程序的行为。不是传奇本身。我已经有这样的测试了。
我无法理解如何模拟 fetch 操作,特别是因为并行 sagas 也在应用程序中运行。