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

@media not all and is not supported #48

Open
mg901 opened this issue May 22, 2023 · 1 comment
Open

@media not all and is not supported #48

mg901 opened this issue May 22, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@mg901
Copy link

mg901 commented May 22, 2023

Hi, thank you for your awesome library.)
I have been trying to test my own library and I encountered strange behavior.

Screenshot 2023-05-22 at 23 12 23

But, it's work in a browser.

I'm using jsdom-testing-mocks v1.9.0.

@trurl-master
Copy link
Owner

Hi!

Thank you for the issue and for the test case. I can confirm that there's a problem, probably not with the lib, but with the dependency we use (css-mediaquery). I will look into it when I have a little bit of time and get back to you.

One small note: if I understand correctly, in your test, the first expect should be true and the second false. But it's irrelevant

@trurl-master trurl-master added the bug Something isn't working label May 23, 2023
@trurl-master trurl-master changed the title bug: @media not all and is not supported @media not all and is not supported May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants