Skip to content

Commit

Permalink
Correct test name
Browse files Browse the repository at this point in the history
The previous name didn't match the name of the test in the test suite.
  • Loading branch information
Maddily authored Dec 24, 2024
1 parent 3a12db3 commit 22e589e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/react_testing/introduction_to_react_testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ It's also important to note that after every test, React Testing Library unmount

### What are snapshots?

Snapshot testing is just comparing our rendered component with an associated snapshot file. For example, the snapshot file which was automatically generated after we ran the *"magnificent monkeys renders"* test was:
Snapshot testing is just comparing our rendered component with an associated snapshot file. For example, the snapshot file which was automatically generated after we ran the *"renders magnificent monkeys"* test was:

```jsx
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
Expand Down

0 comments on commit 22e589e

Please sign in to comment.