mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Prettier wants me to change this (#19039)
This commit is contained in:
1 parent
2e7cc949ae
commit
8f511754db
1 file changed
+1
-1
@@ -89,7 +89,7 @@ describe('DOMModernPluginEventSystem', () => {
|
||||
|
||||
ReactDOM.render(<Test />, container);
|
||||
|
||||
let buttonElement = buttonRef.current;
|
||||
const buttonElement = buttonRef.current;
|
||||
dispatchClickEvent(buttonElement);
|
||||
expect(onClick).toHaveBeenCalledTimes(1);
|
||||
dispatchClickEvent(buttonElement);
|
||||
|
||||
Reference in new issue
Block a user