diff --git a/docs/dom-testing-library/api-events.mdx b/docs/dom-testing-library/api-events.mdx index 4b1755ef6..3cba83169 100644 --- a/docs/dom-testing-library/api-events.mdx +++ b/docs/dom-testing-library/api-events.mdx @@ -150,7 +150,7 @@ bound callback. ```jsx - import { render, screen } from '@testing-library/react' + import { render, screen, fireEvent } from '@testing-library/react' const Button = ({ onClick, children }) => ( @@ -165,4 +165,4 @@ bound callback. ``` - \ No newline at end of file +