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

Front-end unit test should use a mock server #226

Open
prince-chrismc opened this issue Aug 31, 2021 · 0 comments · May be fixed by #366
Open

Front-end unit test should use a mock server #226

prince-chrismc opened this issue Aug 31, 2021 · 0 comments · May be fixed by #366
Labels
front-end This issue or pull request pertains to the front-end component tests This issue or pull request pertains to the unit tests of a particular component
Milestone

Comments

@prince-chrismc
Copy link
Owner

Currently the unit tests spin up an entire express app server to verify the API calls are made correctly. This seem very overkill in 2021 so it's better to use nock

@prince-chrismc prince-chrismc added front-end This issue or pull request pertains to the front-end component tests This issue or pull request pertains to the unit tests of a particular component labels Aug 31, 2021
@prince-chrismc prince-chrismc added this to the 1.0.0-dev.3 milestone Jul 29, 2022
@prince-chrismc prince-chrismc linked a pull request Feb 11, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
front-end This issue or pull request pertains to the front-end component tests This issue or pull request pertains to the unit tests of a particular component
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant