Has anyone successfully integrated Headless UI with jsdom for testing? Any tips or challenges?

14 Replies, 662 Views

Thanks for all the suggestions, everyone! I tried switching to `@testing-library/react` and `user-event`, and it’s already way better. Still running into some focus issues, but it’s progress.

Quick question—has anyone tried using `happy-dom` with Headless UI? I’m curious if it’s worth the switch from jsdom. Also, any tips on handling focus in tests? It’s driving me nuts lol.

Cheers again for the help!

Messages In This Thread



Users browsing this thread: 1 Guest(s)