Post
Unfortunately this isn’t really feasible with a big company that’s heavily invested in Jest and RTL. And I think exposing shadow roots probably isn’t enough, especially if you have other web components nested in shadow roots with their own roots
0 reposts0 likes
It's fairly easy to write these helpers. Here's a querySelectorUpwards (in all roots) function: github.com/lume/lume/bl...
github.comgithub.com