Signup Test: Failure
Let's create a test for short passwords and configure our signup function to display the error message.
We'll cover the following
Now that our signup functionality is working, we want to handle any user errors. Such scenarios might include attempting to create a password that’s too short.
This is our updated code:
Get hands-on with 1400+ tech skills courses.