Jest

Jest

24.1

  • Docs
  • API
  • Help
  • Blog
  • GitHub

›Framework Guides

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

Testing Web Frameworks

Although Jest may be considered a React-specific test runner, in fact it is a universal testing platform, with the ability to adapt to any JavaScript library or framework. In this section we'd like to link to community posts and articles about integrating Jest into other popular JS libraries.

Vue.js

  • Testing Vue.js components with Jest by Alex Jover Morales (@alexjoverm)
  • Jest for all: Episode 1 — Vue.js by Cristian Carlesso (@kentaromiura)

AngularJS

  • Testing an AngularJS app with Jest by Matthieu Lux (@Swiip)
  • Running AngularJS Tests with Jest by Ben Brandt (@benjaminbrandt)

Angular

  • Testing Angular faster with Jest by Michał Pierzchała (@thymikee)

MobX

  • How to Test React and MobX with Jest by Will Stern (@willsterndev)

Redux

  • Writing Tests by Redux docs

Express.js

  • How to test Express.js with Jest and Supertest by Albert Gao (@albertgao)
← Testing React Native AppsGlobals →
Jest
Docs
Getting StartedGuidesAPI Reference
Community
Stack OverflowJest ChatTwitter
More
BlogGitHubStar
Facebook Open Source
Copyright © 2019 Facebook Inc.