Skip to content

Commit cbe7cfe

Browse files
docs: Delete tutorial react doc (#15692)
1 parent 7250950 commit cbe7cfe

File tree

4 files changed

+2
-303
lines changed

4 files changed

+2
-303
lines changed

docs/SnapshotTesting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ Yes, all snapshot files should be committed alongside the modules they are cover
312312

313313
### Does snapshot testing only work with React components?
314314

315-
[React](TutorialReact.md) and [React Native](TutorialReactNative.md) components are a good use case for snapshot testing. However, snapshots can capture any serializable value and should be used anytime the goal is testing whether the output is correct. The Jest repository contains many examples of testing the output of Jest itself, the output of Jest's assertion library as well as log messages from various parts of the Jest codebase. See an example of [snapshotting CLI output](https://github.com/jestjs/jest/blob/main/e2e/__tests__/console.test.ts) in the Jest repo.
315+
[React](TestingFrameworks.md) and [React Native](TutorialReactNative.md) components are a good use case for snapshot testing. However, snapshots can capture any serializable value and should be used anytime the goal is testing whether the output is correct. The Jest repository contains many examples of testing the output of Jest itself, the output of Jest's assertion library as well as log messages from various parts of the Jest codebase. See an example of [snapshotting CLI output](https://github.com/jestjs/jest/blob/main/e2e/__tests__/console.test.ts) in the Jest repo.
316316

317317
### What's the difference between snapshot testing and visual regression testing?
318318

docs/TestingFrameworks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Jest is a universal testing platform, with the ability to adapt to any JavaScrip
4646

4747
## Next.js
4848

49-
- [Jest and React Testing Library](https://nextjs.org/docs/pages/building-your-application/testing/jest) by Next.js docs
49+
- [How to set up Jest with Next.js](https://nextjs.org/docs/app/guides/testing/jest) by Next.js docs
5050

5151
## NestJS
5252

docs/TutorialReact.md

Lines changed: 0 additions & 300 deletions
This file was deleted.

website/sidebars.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"architecture"
3030
],
3131
"Framework Guides": [
32-
"tutorial-react",
3332
"tutorial-react-native",
3433
"testing-frameworks"
3534
],

0 commit comments

Comments
 (0)