Skip to content

[Testing]: Add Unit Tests for Utility Functions #158

Description

@harmeetsingh11

Description

Currently, there are no unit tests for utility functions in the project. This is important to ensure that these functions work as expected and can be safely updated in the future. Adding tests will improve the reliability of the project and make it easier to spot issues early.

Steps to Reproduce:

  1. Identify the utility functions in the project.
  2. Write unit tests for each utility function using a testing framework like Jest.
  3. Ensure the tests cover different edge cases and scenarios for each utility function.

Expected Outcome:

A set of unit tests for utility functions that ensures they perform as expected. These tests should be run automatically as part of the CI pipeline to catch any regressions.

Implementation Details (optional)

No response

Screenshots

No response

Checklist

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions