Browse Source

Fixed a minor typo in a comment (#3685)

main
Asher Oloo 4 years ago
committed by GitHub
parent
commit
e60bca04f3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/docs/testing-recipes.md

2
content/docs/testing-recipes.md

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

Loading…
Cancel
Save