Skip to content

Add tests for reducers and components #101

@namsnath

Description

@namsnath

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions