Jest 中文网

Jest 中文网

  • 中文文档
  • API
  • 帮助
  • Blog
  • GitHub
  • 英文官网

›简介

简介

  • 快速入门
  • Using Matchers
  • Testing Asynchronous Code
  • Setup and Teardown
  • Mock Functions
  • Jest Platform
  • Jest Community
  • More Resources

使用指南

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

框架指南

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

API 手册

  • Globals
  • Expect
  • Mock Functions
  • The Jest Object
  • Configuring Jest
  • Jest CLI Options
  • Environment Variables
  • Code Transformation
Edit

Jest Community

The community around Jest is working hard to make the testing experience even greater.

jest-community is a new GitHub organization for high quality Jest additions curated by Jest maintainers and collaborators. It already features some of our favorite projects, to name a few:

  • vscode-jest
  • jest-extended
  • eslint-plugin-jest
  • awesome-jest

Community projects under one organisation are a great way for Jest to experiment with new ideas/techniques and approaches. Encourage contributions from the community and publish contributions independently at a faster pace.

The jest-community org maintains an awesome-jest list of great projects and resources related to Jest, this includes all projects not just the ones in the jest-community org.

If you have something awesome to share, feel free to reach out to us! We'd love to share your project on the awesome-jest list (send a PR here) or if you would like to transfer your project to the jest-community org reach out to one of the owners of the org.

← Jest PlatformMore Resources →
Jest 中文网
中文文档
快速入门使用指南API 参考手册
社区
Stack OverflowReactifluxTwitter
更多
BlogGitHubStar
友链
Bootstrap中文网ReactNext.jsNuxt.jsBlitz.jsDocusaurusGatsbyWebpackNPMYarn
Facebook Open Source
Copyright © 2020 Facebook Inc.
Jest 项目及相关资源的版权归 Facebook 或项目贡献者所有
Jest 中文文档遵循 MIT 开源协议
京ICP备15031610号-38