4 ms·
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://objec
by mvolkmann 7y 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-2019-web-dev-simplified-with-svelte https://objectcomputing.com/resources/publications/sett/july...
- spiffytech 7y agoGreat 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 7y agoI haven't tried that.