In this video, we're going to be writing tests for our Home view component, and also learn about a very useful unit testing feature called
Let's begin by creating a test file for the Home component. Before we do, though, we'll create a new subdirectory for view test, as we want our client test directory to have the same structure as the client directory itself. So let's go:
$ mkdir tests/unit/client/views
Click to load comments...