Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
riledhel
on July 21, 2023
|
parent
|
context
|
favorite
| on:
Lit: Simple, fast web components
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!
claviska
on July 21, 2023
[–]
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/
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: