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

Implement Jest Tests for Core Functionality #32

Open
3 tasks
AyushDharDubey opened this issue Dec 17, 2024 · 0 comments
Open
3 tasks

Implement Jest Tests for Core Functionality #32

AyushDharDubey opened this issue Dec 17, 2024 · 0 comments
Labels
enhancement New feature or request hard

Comments

@AyushDharDubey
Copy link
Collaborator

AyushDharDubey commented Dec 17, 2024

Description

Currently, the project lacks unit tests and integration tests for core functionality such as utility functions, components, and API data handling. Implementing tests using Jest will ensure the project's stability and make future feature development safer.


Tasks

  • Set up any robust testing framework (not confined to jest).
  • Write Unit Tests for utility functions to confirm that components like TicketCard render the right data under different conditions
  • Make sure to that utility functions like getTickets handle failure scenarios gracefully.
  • Document the testing setup

Acceptance Criteria

  • A testing setup exists and tests can be executed locally.
  • Critical functions and components are verified under both success and failure cases.
  • Documentation is updated so others can run or write their own tests.

Meanwhile, while writting tests if you figure out any bug or breakage somewhere, feel free to create an issue.

@AyushDharDubey AyushDharDubey added enhancement New feature or request hard labels Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hard
Projects
None yet
Development

No branches or pull requests

1 participant