-
-
Save JWLangford/4a5407b20293ffc0d5c887e090d0eeb8 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 password provided", () => { | |
const { getByTestId } = render(<FormTest />); | |
const password = getByTestId("account-delete-password"); | |
const submit = getByTestId("account-delete-submit"); | |
fireEvent.change(password, { target: { value: "password" } }); | |
expect(submit).toHaveClass("Mui-disabled"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment