Jest

Jest

24.1

  • Docs
  • API
  • Help
  • Blog
  • GitHub

›Introduction

Introduction

  • Getting Started
  • Using Matchers
  • Testing Asynchronous Code
  • Setup and Teardown
  • Mock Functions
  • Jest Platform
  • Jest Community
  • More Resources

Guides

  • Snapshot Testing
  • An Async Example
  • Timer Mocks
  • Manual Mocks
  • ES6 Class Mocks
  • Bypassing module mocks
  • Using with webpack
  • Using with puppeteer
  • Using with MongoDB
  • DOM Manipulation
  • Watch Plugins
  • Migrating to Jest
  • Troubleshooting
  • Architecture

Framework Guides

  • Testing React Apps
  • Testing React Native Apps
  • Testing Web Frameworks

API Reference

  • Globals
  • Expect
  • Mock Functions
  • The Jest Object
  • Configuring Jest
  • Jest CLI Options

More Resources

By now you should have a good idea of how Jest can make it easy to test your applications. If you're interested in learning more, here's some related stuff you might want to check out.

Browse the docs

  • Learn about Snapshot Testing, Mock Functions, and more in our in-depth guides.
  • Migrate your existing tests to Jest by following our migration guide.
  • Learn how to configure Jest.
  • Look at the full API Reference.
  • Troubleshoot problems with Jest.

Learn by example

You will find a number of example test cases in the examples folder on GitHub. You can also learn from the excellent tests used by the React, Relay, and React Native projects.

Join the community

Ask questions and find answers from other Jest users like you. Reactiflux is a Discord chat where a lot of Jest discussion happens. Check out the #jest channel.

Follow the Jest Twitter account and blog to find out what's happening in the world of Jest.

← Jest CommunitySnapshot Testing →
Jest
Docs
Getting StartedGuidesAPI Reference
Community
Stack OverflowJest ChatTwitter
More
BlogGitHubStar
Facebook Open Source
Copyright © 2019 Facebook Inc.