Hey community,
I was trying to connect Svelte with Jest or Mocha with the front end and couldn’t find any documentation in the tutorial like react. Has anyone been able to figure this out?
Hey community,
I was trying to connect Svelte with Jest or Mocha with the front end and couldn’t find any documentation in the tutorial like react. Has anyone been able to figure this out?
Hello
I have the same problem.
I tried to use vitest. I used the lib @testing-library/svelte. I needed to mock Meteor functions, and that worked well.
But my lib couldnt handle the $m directive of meteor so i could not test all.
In conclusion, as there is no doc or tuto available, and you have no answer on the meteor forum, i will switch from Svelte to another front techno.
I think meteor should add a warning on their Svelte tutorial, to indicate that front-end test are not supported yet.