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

Add tests for reducers and components #101

Open
3 of 13 tasks
namsnath opened this issue Oct 3, 2020 · 0 comments
Open
3 of 13 tasks

Add tests for reducers and components #101

namsnath opened this issue Oct 3, 2020 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@namsnath
Copy link
Collaborator

namsnath commented Oct 3, 2020

Most components and reducers do not have tests as of now.
Tests are implemented for timetable and course reducers, but lack certain cases/tests.

Specific tests that need to be implemented:

  • Timetable reducer/slice
    • updateClashmap() utility function
    • syncTimetable Thunk call with redux-mock-store. rejected/pending/fulfilled reducer tests implemented.
  • Empty String Checks/Tests
    • Filter Controls -> setSelectedCategory
    • curriculumReducer/setSelectedCurriculum
    • themeReducer/changeTheme
    • timetableReducer/changeTimetable
  • Dashboard Component
    • Dispatches
    • Thunk calls with redux-mock-store
    • Snapshot Testing
    • Alerts
@namsnath namsnath added enhancement New feature or request help wanted Extra attention is needed labels Oct 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant