Signup Test: Failure

Let's create a test for short passwords and configure our signup function to display the error message.

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 1200+ tech skills courses.