Skip to content

Commit 0abf22a

Browse files
committed
revert: act docs
1 parent 6e163ec commit 0abf22a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

docs/react-testing-library/api.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -325,12 +325,6 @@ All it does is forward all arguments to the act function if your version of
325325
react supports `act`. It is recommended to use the import from
326326
`@testing-library/react` over `react-dom/test-utils` for consistency reasons.
327327
328-
```typescript
329-
export const act: typeof reactAct extends undefined
330-
? (callback: () => void) => void
331-
: typeof reactAct
332-
```
333-
334328
## `renderHook`
335329
336330
This is a convenience wrapper around `render` with a custom test component. The

0 commit comments

Comments
 (0)