Skip to content

Commit 404e182

Browse files
test: to fix test cases
1 parent e467c1c commit 404e182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Button/__test__/Button.spec.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ describe("Button component", () => {
9292

9393
it("hover styles are applied when hideHoverStyles is true", () => {
9494
render(
95-
<Button hideHoverStyles={true}>Hover Button</Button>
95+
<Button hideHoverStyles>Hover Button</Button>
9696
);
9797
const button = screen.getByRole("button");
9898
expect(button).toHaveClass("deriv-button__hover--disabled");

0 commit comments

Comments
 (0)