Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
riledhel
· 3y ago · 0 comments
Awesome work, thanks for maintaining it! What's the recommended strategy to do unit testing? I tried a couple of months ago to use jest but it gets messy really quick due to poor support for shadow DOM. Thank you!
Comments
[–]
claviska
3y ago
Check out Web Test Runner [0]. It uses Puppeteer to test in real browsers and is easy to setup. I test in Chromium, Firefox, and WebKit concurrently.
[0]
https://modern-web.dev/docs/test-runner/overview/