mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Fixed a minor typo in a comment (#3685)
This commit is contained in:
@@ -393,7 +393,7 @@ it("changes value when clicked", () => {
|
||||
render(<Toggle onChange={onChange} />, container);
|
||||
});
|
||||
|
||||
// get ahold of the button element, and trigger some clicks on it
|
||||
// get a hold of the button element, and trigger some clicks on it
|
||||
const button = document.querySelector("[data-testid=toggle]");
|
||||
expect(button.innerHTML).toBe("Turn on");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user