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

Add Tests For APIFunctions #430

Open
evanugarte opened this issue Apr 10, 2020 · 0 comments
Open

Add Tests For APIFunctions #430

evanugarte opened this issue Apr 10, 2020 · 0 comments
Labels
enhancement Things that add any new functionality or feature. Testing Things that enhance or refactor the testing of the project.

Comments

@evanugarte
Copy link
Collaborator

evanugarte commented Apr 10, 2020

We have no tests for any files in the APIFuncitons directory, which is problematic considering they are the link between the frontend and the backend.

We would mock the responses from axios HTTP requests, and test the returned values of the API functions with their expected value.

@evanugarte evanugarte added enhancement Things that add any new functionality or feature. Testing Things that enhance or refactor the testing of the project. labels Apr 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Things that add any new functionality or feature. Testing Things that enhance or refactor the testing of the project.
Projects
None yet
Development

No branches or pull requests

1 participant