Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mvolkmann
· 7y ago · 0 comments
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...
Comments
[–]
spiffytech
7y 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.
[–]
mvolkmann
OP
7y ago
I haven't tried that.