Skip to content

Commit 002e8aa

Browse files
committed
fix formatting
1 parent 8b990d9 commit 002e8aa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/react-testing-library/example-intro.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,14 @@ test('loads and displays greeting', async () => {
6565

6666
See the following sections for a detailed breakdown of the test
6767

68-
:::note We recommend using the
68+
:::note
69+
We recommend using the
6970
[Mock Service Worker (MSW)](https://github.com/mswjs/msw) library to
7071
declaratively mock API communication in your tests instead of stubbing
7172
`window.fetch`, or relying on third-party adapters.
7273

73-
MSW requires Node.js 18 or later. :::
74+
MSW requires Node.js 18 or later.
75+
:::
7476

7577
```jsx title="__tests__/fetch.test.jsx"
7678
import React from 'react'

0 commit comments

Comments
 (0)