diff --git a/packages/wonder-blocks-button/src/components/__tests__/button-with-icon.test.tsx b/packages/wonder-blocks-button/src/components/__tests__/button-with-icon.test.tsx index 88b25fea9d..6ba350ab5b 100644 --- a/packages/wonder-blocks-button/src/components/__tests__/button-with-icon.test.tsx +++ b/packages/wonder-blocks-button/src/components/__tests__/button-with-icon.test.tsx @@ -228,50 +228,4 @@ describe("button with icon", () => { expect(icon).toBeInTheDocument(); expect(icon).toHaveAttribute("aria-hidden", "true"); }); - - test("default theme tertiary button icon has no hover style", async () => { - // Arrange - render( - , - ); - - // Act - const button = await screen.findByTestId("button-icon-test"); - const iconWrapper = await screen.findByTestId( - "button-icon-test-end-icon-wrapper", - ); - await userEvent.hover(button); - - // Assert - expect(iconWrapper).toHaveStyle(`backgroundColor: transparent`); - }); - - test("Khanmigo tertiary button icon has hover style", async () => { - // Arrange - render( - - - , - ); - - // Act - const button = await screen.findByTestId("button-icon-test"); - const iconWrapper = await screen.findByTestId( - "button-icon-test-end-icon-wrapper", - ); - await userEvent.hover(button); - - // Assert - expect(iconWrapper).toHaveStyle( - `backgroundColor: ${color.fadedBlue16}`, - ); - }); });