Tests for Signup Form

Let's update the signup component's tests to add tests for the signup form.

Because we’re testing our component’s functionality, we’ll need to interact with the DOM elements, as we did earlier when we were manually creating users in our browser. To do this, we’ll create a class for our view to give us an easier way to interact with our component.

This is our updated code:

Get hands-on with 1400+ tech skills courses.