Replies: 1 comment 3 replies
-
I would like to raise a question about testing components written with live_svelte. I migrated a part of LiveView to live_svelte and encountered errors in tests with LiveViewTest. Can someone share an approach to testing? @woutdp if you could share some tips? testing is the biggest challenge for me so far I made an example that shows the error Branch
Run
During development everything is great and the transition was almost painless, however when testing I get an error (Attempting to reconnect) At the same time, everything works correctly in the development environment |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello guys, i think everyone knows that Phoenix LiveView comes with a ton of tools for testing. I want to know how can i test my components using live svelte, should i use some svelte library to test or use the same tools that already come with live view, i'm really not sure how to do?
In LiveVue, they had a module with some test utilities, shouldn't live_svelte have something like that as well?
Thanks guys 👋
Beta Was this translation helpful? Give feedback.
All reactions