...

/

Implementing "Complete Task" Feature

Implementing "Complete Task" Feature

You will practice more with unit tests, and learn a few techniques that are useful when testing React apps.

Where we left off

In the last lesson, we decided that our TODO app needs to be able to mark tasks as “completed” by clicking on them. The integration test that tests for this behaviour is currently failing, and we will begin fixing it now.

Task component

Stop and think about the behaviour we are ...