redux-actions-assertions icon indicating copy to clipboard operation
redux-actions-assertions copied to clipboard

Simplify testing of redux action and async action creators

Results 8 redux-actions-assertions issues
Sort by recently updated
recently updated
newest added

If I have an Action that returns a Promise which may either resolve or reject (redux-form requires this for form submission), how can I write a test that handles the...

Sorry if the issues are not the correct place to ask a question! I'd like to assert that an action is causing some other actions to trigger, but not others....

Another question regarding testing order and number of triggered actions. Let's say I have a `search()` action that triggers `searchLoading()` and then `searchResults()`. If a search action is coming before...

Will be useful to know all assertion frameworks/libraries which used by users of redux-actions-assertions. Feel free to leave a comment.

help wanted
question

Redux Thunk 2.1.0 adds the possibility to register dependencies of async action in middleware setup (https://github.com/reactjs/redux/issues/1716), which is useful for testing. Currently, there is a way to set middlewares for...

With https://github.com/redux-things/redux-actions-assertions-js/pull/3 "with state" function now supports function. Docs needed to be updated: - [ ] chai - [ ] Update function definition - [ ] Add example of usage...

docs

For some async actions, instead of replicating a lot of data I'd just like to check that an action of a certain type is being dispatched. I'll make a PR...

discussion

Why? The docs have a page for Jasmine, and a page for Jest. Not only could I not get this working at all, the dependency on Jasmine puts this project...