3 ms·
I've used it for a small side project. It's fun to build in, but the testing story is almost non-existent.
by spiffytech 7y ago
I've used it for a small side project. It's fun to build in, but the testing story is almost non-existent.
- mvolkmann 7y agoThe 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.