Merged in fix/remove-redundant-test (pull request #3457)
fix: Remove required test after removing it from input * Remove required test after removing it from input Approved-by: Bianca Widstam Approved-by: Emma Zettervall
This commit is contained in:
@@ -24,11 +24,6 @@ const renderInputStandalone = (props: React.ComponentProps<typeof Input>) => {
|
||||
|
||||
describe("Input", () => {
|
||||
describe("props", () => {
|
||||
it("applies required attribute", () => {
|
||||
renderInput({ label: "Email", required: true })
|
||||
expect(screen.getByRole("textbox")).toHaveProperty("required", true)
|
||||
})
|
||||
|
||||
it("applies readOnly attribute", () => {
|
||||
renderInput({ label: "Email", readOnly: true })
|
||||
expect(screen.getByRole("textbox")).toHaveProperty("readOnly", true)
|
||||
|
||||
Reference in New Issue
Block a user