Skip to content

Add test suites for Frontend files to bump overall coverage #352

@its-me-abhishek

Description

@its-me-abhishek

Several files in the React frontend currently have low (<90%) test coverage. We should work on improving coverage by adding or enhancing tests.

Guidelines

  • Please open a separate PR for each file you work on.
  • This issue will not be assigned to anyone.
  • Before starting, comment on this issue with the file you’re working on to avoid overlap.
  • Once ready, open a PR and reference this issue.
  • Please do not create any functional changes to the parent file until any feature is broken

Files with Low Coverage (% Statements)

  • main.tsx
  • NavbarDesktop.tsx (HomeComponents)
  • navbar-utils.ts (HomeComponents)
  • NavbarMobile.tsx (LandingComponents)
  • date-time-picker.tsx (ui, other files are generated by shadcn, can be skipped for now)
  • multi-select.tsx (ui, other files are generated by shadcn, can be skipped for now)
  • use-hotkeys.ts (src/components/utils)

Feel free to pick up any file from the list above. Thanks for helping improve our test coverage!

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontendSomething isn't working on the frontendgood first issueGood for newcomerstestRelated to test suites in the frontend or backend codebase

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions