Svelte · Senior · Question 55 of 75

Why test runes logic in files named *.svelte.test.js?

Explanation

Combine with $effect.root and flushSync to test effects synchronously.

Further reading

Problem with a question

Svelte · Senior · question 55

Test yourself

Take the Svelte · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz