What this book covers
Chapter 1, First Steps with Test-Driven Development, introduces Jest and the test-driven development cycle. We use them to build a rendering of customer information on a page.
Chapter 2, Test-driving Data Input with React, covers using React component state to manage the display and saving of forms.
Chapter 3, Exploring Test Doubles, introduces various types of test double that are necessary for testing collaborating objects. The collaborator we use in this chapter is the browser fetch API to send and receive data from our application backend.
Chapter 4, Creating a User Interface, ties everything with a root component that threads together a user journey.
Chapter 5, Humanizing Forms, continues with form building by looking ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access