Skip to content

Commit 0713c86

Browse files
author
Kent C. Dodds
authored
fix reducer test
Closes #399
1 parent 9dd8b32 commit 0713c86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/example-react-hooks-useReducer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ import Example from './example.js'
6363
it('shows success message after confirm button is clicked', () => {
6464
const { getByText } = render(<Example />)
6565

66-
expect(getByText(/waiting/i).textContent).toBeInTheDocument()
66+
expect(getByText(/waiting/i)).toBeInTheDocument()
6767

6868
fireEvent.click(getByText('Confirm'))
6969

0 commit comments

Comments
 (0)