Skip to content

Commit 3f98a1a

Browse files
authored
docs: fix a wrong variable name in the readme (#108)
1 parent 2ecc290 commit 3f98a1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ describe('Counter', () => {
131131
await render(CounterComponent, { componentProperties: { counter: 5 } });
132132

133133
const incrementButton = screen.getByRole('button', { name: /increment/i });
134-
fireEvent.click(incrementControl);
134+
fireEvent.click(incrementButton);
135135

136136
expect(screen.getByText('Current Count: 6'));
137137
});

0 commit comments

Comments
 (0)