Skip to content

Commit 5a16415

Browse files
ms314006thymikee
andauthored
docs: Updated Testing Frameworks guide with React; make it generic (#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 <[email protected]>
1 parent 4216b86 commit 5a16415

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
- `[jest-haste-map]` [**BREAKING**] removed `providesModuleNodeModules` ([#8535](https://github.com/facebook/jest/pull/8535))
2424
- `[docs]` Fix example reference implementation to use Jest with Phabricator ([#8662](https://github.com/facebook/jest/pull/8662))
2525
- `[docs]` Added default compiler to tranform ([#8583](https://github.com/facebook/jest/pull/8583))
26+
- `[docs]` Updated Testing Frameworks guide with React; make it generic ([#9106](https://github.com/facebook/jest/pull/9106))
2627

2728
### Performance
2829

docs/TestingFrameworks.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ id: testing-frameworks
33
title: Testing Web Frameworks
44
---
55

6-
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.
6+
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.
7+
8+
## React
9+
10+
- [Testing ReactJS components with Jest](https://testing-library.com/docs/react-testing-library/example-intro) by Kent C. Dodds ([@kentcdodds](https://twitter.com/kentcdodds))
711

812
## Vue.js
913

website/versioned_docs/version-25.1/TestingFrameworks.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ title: Testing Web Frameworks
44
original_id: testing-frameworks
55
---
66

7-
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.
7+
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.
8+
9+
## React
10+
11+
- [Testing ReactJS components with Jest](https://testing-library.com/docs/react-testing-library/example-intro) by Kent C. Dodds ([@kentcdodds](https://twitter.com/kentcdodds))
812

913
## Vue.js
1014

0 commit comments

Comments
 (0)