-
-
Save JWLangford/8df5458ee8ef78b4541a77dcb0177fa3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it("keeps submit disabled when only confirm is checked", () => { | |
const { getByTestId } = render(<FormTest />); | |
const confirm = getByTestId("account-delete-confirm"); | |
const submit = getByTestId("account-delete-submit"); | |
fireEvent.click(confirm); | |
expect(submit).toHaveClass("Mui-disabled"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment