Svelte · Middle · Question 29 of 75

How are Svelte components usually unit-tested?

Explanation

Logic with runes in .svelte.js files can be tested in .svelte.test.js files, where runes are compiled.

Further reading

Problem with a question

Svelte · Middle · question 29

Test yourself

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

Take this quiz