Fixed a minor typo in a comment (#3685)

This commit is contained in:
Asher Oloo
2021-05-21 09:55:32 +03:00
committed by GitHub
parent a5e0bf4d8d
commit e60bca04f3

View File

@@ -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");