'Note: Do add unit tests(for success & failure) for each API endpoint.' as mentioned in README.md file.
I am trying to add unit tests but i am not understanding what logic should i add for testing endpoints.
For eg
/login -> how can i unit test this endpoint?
'Note: Do add unit tests(for success & failure) for each API endpoint.' as mentioned in README.md file. I am trying to add unit tests but i am not understanding what logic should i add for testing endpoints. For eg /login -> how can i unit test this endpoint?
Please someone help.