How to test a component with hsl backgound color? ( Typescript ) #27483
Unanswered
alamenai
asked this question in
Component Testing
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using a CSS module for my styling, and I want to test the background color ( normal, hover, focus) of the button.
I have seen people struggle with the same issue, but they found solutions like chai-color or color libraries. The problem is I use Typescript and these libraries does not support types. How can I test my HSL background?
Beta Was this translation helpful? Give feedback.
All reactions