We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Write unit tests to ensure that user registration and login functionalities work as expected.
jest
mocha
POST /auth/register
POST /auth/login
Unit tests for user registration and login ensure the system behaves correctly.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Write unit tests to ensure that user registration and login functionalities work as expected.
Steps to Implement
jest
ormocha
.POST /auth/register
) to ensure that valid data is stored and invalid data is rejected.POST /auth/login
) to verify that the correct token is returned upon successful authentication.Expected Outcome
Unit tests for user registration and login ensure the system behaves correctly.
Resources
The text was updated successfully, but these errors were encountered: