O'Reilly logo

React 16 Tooling by Adam Boduch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Optimizing Test-Driven React Development

Perhaps, one of the most important tools in the React ecosystem is Jest—a test runner and unit test library for testing your React components. Jest was designed to overcome challenges faced with other test frameworks like Jasmine, and was created with React development in mind. With powerful testing tools like Jest, you're better equipped to let your unit tests influence the design of your React components. In this chapter, you'll learn:

  • The overarching design philosophy of Jest and what this means for React developers
  • Running Jest unit tests in a create-react-app environment and in a standalone React environment
  • Writing effective unit tests and suites using the Jest API
  • Running Jest unit tests in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required