Skip to content

Commit 0fd954d

Browse files
iqbal125alexkrolick
authored andcommitted
Update example-react-hooks-useReducer.md (testing-library#198)
fix title name
1 parent 619f605 commit 0fd954d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/example-react-hooks-useReducer.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
id: example-react-useReducer
3+
title: useReducer
4+
---
5+
16
Basic example showing how to test the `useReducer` hook.
27
The most important thing is that we aren't testing the reducer directly - it's an
38
implementation detail of the component! Instead we are testing the component interface.

0 commit comments

Comments
 (0)