_calvinandhobbes
does @solidjs/testing-library render shadowDom?
Ya I was trying to use that but it only has selectors. I found https://github.com/jsdom/jsdom/pull/2347. It looks like jsdom supports it and I'm setting up vitest with a jsdom env. I think that it may be a problem where it doesn't wait for the element's definition to load. As I looked at it again and it seems to render the shadow root with my FOUC styles saying display:none if it's not defined but it doesn't wait to load the custom element's definition where my custom button pops in. Any advice?
9 replies