Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assert css variable value? #1972

Closed
jkeen opened this issue Jun 30, 2023 · 1 comment
Closed

Assert css variable value? #1972

jkeen opened this issue Jun 30, 2023 · 1 comment

Comments

@jkeen
Copy link
Contributor

jkeen commented Jun 30, 2023

It doesn't seem like qunit-dom has the ability to check the value of a css custom property/variable, like --color-text, or whatever. Am I right about that?

I tried using hasStyle, hasAttribute, and hasProperty with no avail. In trying to make some changes for a PR, but it seems ilke the issue might be a jest / node thing?

@BobrImperator
Copy link
Contributor

With #1976 merged it might've been fixed, at least for the hasStyle test.

Feel free to reopen if it's not fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants