Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests for every public function #3

Open
7 of 12 tasks
devvmh opened this issue May 23, 2016 · 0 comments
Open
7 of 12 tasks

Tests for every public function #3

devvmh opened this issue May 23, 2016 · 0 comments

Comments

@devvmh
Copy link
Owner

devvmh commented May 23, 2016

Every public function should have tests.

actionTypes.js: no need

actionCreators.js:

  • simple tests to enforce API
  • tests for default method in opts

reducers.js:

  • crudReducer
  • specific tests for sub-reducers?

sagas.js:

  • apiGeneric
  • crudSaga - is there some way to test the branching?
  • specific tests for sub-sagas?

selectors.js:

  • select
  • selectCollection
  • selectRecord
  • selectRecordOrEmptyObject
  • selectActionStatus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant