Solution to Exercise
Learn the solution to the previous lesson's exercise.
We'll cover the following
The test
The first part of the exercise was to write the test itself. In case you forgot, the test must verify that the Task
component will call the onToggle
callback when a user clicks on it. This is one of the tests that suit the description:
Get hands-on with 1400+ tech skills courses.