Skip to content

Commit

Permalink
docs: Updated Testing Frameworks guide with React; make it generic (#…
Browse files Browse the repository at this point in the history
…9106)

* Add Jest work with "testing-library/react" to Framework Guides

* update frameworks guide to be generic

* add changelog

* use link to example docs

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
  • Loading branch information
ms314006 and thymikee authored May 3, 2020
1 parent 4216b86 commit 5a16415
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- `[jest-haste-map]` [**BREAKING**] removed `providesModuleNodeModules` ([#8535](https://github.com/facebook/jest/pull/8535))
- `[docs]` Fix example reference implementation to use Jest with Phabricator ([#8662](https://github.com/facebook/jest/pull/8662))
- `[docs]` Added default compiler to tranform ([#8583](https://github.com/facebook/jest/pull/8583))
- `[docs]` Updated Testing Frameworks guide with React; make it generic ([#9106](https://github.com/facebook/jest/pull/9106))

### Performance

Expand Down
6 changes: 5 additions & 1 deletion docs/TestingFrameworks.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ id: testing-frameworks
title: 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.
Jest 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 popular JS libraries.

## React

- [Testing ReactJS components with Jest](https://testing-library.com/docs/react-testing-library/example-intro) by Kent C. Dodds ([@kentcdodds](https://twitter.com/kentcdodds))

## Vue.js

Expand Down
6 changes: 5 additions & 1 deletion website/versioned_docs/version-25.1/TestingFrameworks.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ title: Testing Web Frameworks
original_id: testing-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.
Jest 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 popular JS libraries.

## React

- [Testing ReactJS components with Jest](https://testing-library.com/docs/react-testing-library/example-intro) by Kent C. Dodds ([@kentcdodds](https://twitter.com/kentcdodds))

## Vue.js

Expand Down

0 comments on commit 5a16415

Please sign in to comment.