Skip to content

Commit a7748bc

Browse files
JubayeromiCopilot
andcommitted
Fix malformed code fence in test utils warning
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent c0d82b9 commit a7748bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/content/warnings/react-dom-test-utils.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ expect(container.innerHTML).toBe('');
5555

5656
React Testing Library automatically cleans up rendered trees after each test when your test framework provides an `afterEach` hook. You can call `unmount` yourself when you need to verify cleanup during a test. Unmounting a tree also removes content rendered into a portal by that tree. If your test creates a separate React root, unmount that root separately.
5757

58-
``
58+
```
5959
### ReactDOMTestUtils.Simulate {/*reactdomtestutilssimulate*/}
6060
6161
`Simulate` can be replaced with `fireEvent` from `@testing-library/react`.

0 commit comments

Comments
 (0)