Fixing 'Component Instantiation' Error in Svelte 5 Tests: A Quick Guide (opens in new tab)
So, you’ve just upgraded to Svelte 5 and are excited to test out your components. But wait, what’s this? You run your tests and hit an error that’s throwing a spanner in the works:
Read the original article