We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9617535 commit 653801dCopy full SHA for 653801d
docs/dom-testing-library/api-events.mdx
@@ -135,9 +135,8 @@ fireEvent(
135
## Using Jest Function Mocks
136
137
[Jest's Mock functions](https://jestjs.io/docs/en/mock-functions) can be used to
138
-test that a callback passed to the function was called, or what it was called
139
-when the event that **should** trigger the callback function does trigger the
140
-bound callback.
+test that a component will call its bound callback in response to a particular
+event.
141
142
<Tabs
143
defaultValue="react"
0 commit comments