Testing · Senior · Question 23 of 75

Why should a CI test run use --ci (Jest) or equivalent settings?

Explanation

In Vitest, CI is detected automatically: new snapshots aren't written and .only fails the run.

Further reading

Problem with a question

Testing · Senior · question 23

Test yourself

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

Take this quiz