Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thanks, that looks pretty good, and testing-library is excellent. I couldn't find it in the docs, but do you know how this "renders" the Svelte components - in memory using e.g. jsdom, or by firing up a full-fledged browser? (The former would be highly preferable.)


Testing-library uses jsdom across the board, as far as I know. It might support running in a full browser too but I haven’t used it that way.

For end-to-end tests with a real browser, Cypress is a good option.


Cool, sounds like it should be in a usable state then.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: