Y
Hacker News
new
|
ask
|
show
|
jobs
by
mvolkmann
2429 days ago
The testing story just hasn't been well documented yet in the official docs. I have documented both unit and end-to-end testing with Svelte here:
https://objectcomputing.com/resources/publications/sett/july...
1 comments
spiffytech
2429 days ago
Great link! Were you able to get unit tests with `context` working? Last time I tried (I believe with @testing-library/svelte) it didn't work because each component is compiled separately and don't share a runtime.
link
mvolkmann
2429 days ago
I haven't tried that.
link