3.3.0
版本发布时间: 2016-06-29 14:20:51
pburtchaell/redux-promise-middleware最新发布版本:6.2.0(2023-12-28 03:07:18)
🔥🚒 The version 3.2.0 release broke catch()
on promises.
// expected functionality
doSomethingAsyncAndReject().catch(() => {
// called once 🙂
});
// version 3.2.0
doSomethingAsyncAndReject().catch(() => {
// never called ☹️
});
This release fixes the functionality of catch
and updates tests. Previously, an error in how async...await
was used caused tests to pass even if the assertion failed. Tests now use done
to ensure async tests complete with full confidence.