The findBy Variant

Learn about the findBy query variant in this lesson.

Starter project

The starter project for this lesson contains the same PersonPage component as in the last lesson. It also contains the failing test from the last lesson that verifies that a person’s name is rendered after the data is fetched.

A copy of the project is in the code widget below. Clicking the “Run” button will automatically run the project’s tests.

export default "test-file-stub";
Verifying that the tests fail

Confirm that the test fails by running it. We’ll resolve the problem in this test in this lesson.

We will resolve the problem in this test in this lesson.

The findBy variant

The problem with the ...

Access this course and 1400+ top-rated courses and projects.