-
-
Save JWLangford/9abf9eb1012f300b87fa83b25378d2a2 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("renders default state", () => { | |
const { getByTestId } = render(<FormTest />); | |
const password = getByTestId("account-delete-password") as HTMLInputElement; | |
const confirm = getByTestId("account-delete-confirm"); | |
const submit = getByTestId("account-delete-submit"); | |
expect(password.value).toBe(""); | |
expect(confirm).not.toHaveClass("Mui-checked"); | |
expect(submit).toHaveClass("Mui-disabled"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment