Instructor: In the last section
we finished up our first test that made sure
that we saw exactly one instance
of our comment box inside the app component.
We wrote that test by using the shallow renderer
that's part of the enzyme library.
So remember, the shallow function right here
is gonna render just the app component,
but not any components inside of it.
So even though it appears
that there might be an instance of comment box,
there's just kind of a placeholder, something that says,
oh yeah, there should be a comment box here.
It doesn't actually exist,
it's just a bookmark or a placeholder for that component.
So in this section, we're gonna move on to our next test
where we're gonna make sure that the comment list
is also displayed inside the app component.
Now, for this test, I would like you to give a shot
at writing out this test on your own.
So I want you to take everything that we've covered so far
and attempt to write out another test inside of this file,
then make sure that we have an instance
of the comment list being displayed inside the app as well.
Just as a quick hint,
I really expect the implementation is gonna be very similar
to what we see right here.
We could merge the two tests together
into a single it statement,
but I think it'd be really nice if you wrote out
a second it statement and wrote the test inside there.
So let's take a quick break, give it a shot,
and we'll come back and get a better sense
of how to take care of this in the next section.