Vue · Senior · Question 74 of 75

When does a component with an async setup() need special care in tests?

Explanation

Test helpers often mount a wrapper with <Suspense> and then wait for promises to resolve.

Further reading

Problem with a question

Vue · Senior · question 74

Test yourself

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

Take this quiz