Skip to content

Commit

Permalink
test: added test
Browse files Browse the repository at this point in the history
Signed-off-by: Evzen Gasta <[email protected]>
  • Loading branch information
gastoner committed Dec 17, 2024
1 parent 15f85ac commit 499bebc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/ui/src/lib/button/CloseButton.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]');
Expand Down

0 comments on commit 499bebc

Please sign in to comment.