8000 Loading css with js-dom · Issue #664 · testing-library/jest-dom · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Loading css with js-dom #664

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

Open
Karljoy973 opened this issue Mar 11, 2025 · 0 comments
Open

Loading css with js-dom #664

Karljoy973 opened this issue Mar 11, 2025 · 0 comments

Comments

@Karljoy973
Copy link

Hi everyone,
I am looking to load a css file at the beginning of one of my test so that I can check if my ui element that I am testing has the correct style.

I have seen that jsdom does not load css and this is the reason why my tests are failing. I do want to have this css and I dont want to use the style attribute as I am working with tailwind.

Do someone knows how to fix the situation ?

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

1 participant
0