Replies: 1 comment 2 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.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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