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

Create unit tests for controller directory #75

Open
2 tasks done
pogi7 opened this issue May 13, 2024 · 0 comments
Open
2 tasks done

Create unit tests for controller directory #75

pogi7 opened this issue May 13, 2024 · 0 comments
Labels
feature New feature or request v0.4.0 Targeted for version 0.4.0

Comments

@pogi7
Copy link
Member

pogi7 commented May 13, 2024

Checklist before submitting a feature request

  • I have reviewed CONTRIBUTING.md document
  • I have done a quick search on the issue tracker to check if the feature request is not redundant

Is your feature request related to a problem? If yes, describe the problem

I am annoyed that there are limited unit tests for the code in the controller directory.

Describe the desired feature

I want there to be a unit test for every exported function in the controller directory. This will allow for high code quality as these tests can be used to verify that the function behaves as expected while under test.

Additional context

Currently the test suite uses jest as their testing engine. Use this test suite for the controller code
https://jestjs.io

@pogi7 pogi7 added the feature New feature or request label May 13, 2024
@pogi7 pogi7 changed the title Create unit tests for the controller directory Create unit tests for controller directory May 13, 2024
@pogi7 pogi7 added the v0.4.0 Targeted for version 0.4.0 label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request v0.4.0 Targeted for version 0.4.0
Projects
None yet
Development

No branches or pull requests

1 participant