From 499bebcf21545c6b1a02769bd41dd6894488cf48 Mon Sep 17 00:00:00 2001 From: Evzen Gasta Date: Tue, 17 Dec 2024 16:49:49 +0100 Subject: [PATCH] test: added test Signed-off-by: Evzen Gasta --- packages/ui/src/lib/button/CloseButton.spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/ui/src/lib/button/CloseButton.spec.ts b/packages/ui/src/lib/button/CloseButton.spec.ts index 19e797684..8bd4407d7 100644 --- a/packages/ui/src/lib/button/CloseButton.spec.ts +++ b/packages/ui/src/lib/button/CloseButton.spec.ts @@ -29,8 +29,7 @@ test('Check button styling', async () => { // check for one element of the styling const button = screen.getByRole('button'); expect(button).toBeInTheDocument(); - expect(button).toHaveClass('text-gray-800'); - expect(button).toHaveClass('hover:bg-white'); + expect(button).toHaveClass('hover:bg-[var(--pd-button-close-hover-bg)]'); expect(button).toHaveClass('hover:bg-opacity-10'); expect(button).toHaveClass('transition-all'); expect(button).toHaveClass('rounded-[4px]');