Skip to content

issues Search Results · repo:redux-things/redux-actions-assertions language:JavaScript

Filter by

21 results
 (58 ms)

21 results

inredux-things/redux-actions-assertions (press backspace or delete to remove)

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 on our blacklist.
  • jpsauve-cfx
  • Opened 
    on Feb 14, 2023
  • #42

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 ...
  • pandaiolo
  • 1
  • Opened 
    on Nov 23, 2020
  • #41

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. For example, doStuff() should trigger fooHappened() ...
  • pandaiolo
  • 1
  • Opened 
    on Nov 23, 2020
  • #40

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 error case? Currently if I reject a ...
  • dave-irvine
  • 3
  • Opened 
    on May 2, 2018
  • #39

My tests are passing but after running I get a wall of: Unhandled promise rejection , Error{config: Object{adapter: function xhrAdapter(config) { ... }, transformRequest: Object{0: ...}, transformResponse: ...
  • TristanWright
  • 2
  • Opened 
    on Mar 1, 2017
  • #38

@giuband thanks for adding the jest matchers! I was just trying them out and it looks to me like jest matchers are always passing no matter what. This test: it( should run the correct actions , () ...
question
  • adamyonk
  • 2
  • Opened 
    on Jan 19, 2017
  • #37

- [x] Add Custom Matchers for Jest: - [x] toDispatchActions - [x] not.toDispatchActions and/or toNotDispatchActions - [x] withState - [x] Add Tests for Jest - [x] Add Tests with ...
  • dmitry-zaets
  • 1
  • Opened 
    on Jan 10, 2017
  • #33

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 ...
docs
  • dmitry-zaets
  • Opened 
    on Oct 13, 2016
  • #32

- [x] Add Custom Matchers for Jasmine: - [x] toDispatchActions - [x] not.toDispatchActions and/or toNotDispatchActions - [x] withState - [x] Add Tests for Jasmine - [x] Add Tests ...
  • dmitry-zaets
  • Opened 
    on Oct 13, 2016
  • #31

I can get the tests working with something like this: test( someThunk , (t) = { registerMiddlewares([thunk]) registerInitialStoreState(buildInitialStoreState(rootReducer)) const expectedActions ...
  • adamyonk
  • 6
  • Opened 
    on Sep 13, 2016
  • #28
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub