Testing · Junior · Question 26 of 78

What does watch mode (vitest / jest --watch) do?

Explanation

Vitest starts in watch mode by default in a terminal and uses Vite's module graph to rerun only affected tests.

Further reading

Problem with a question

Testing · Junior · question 26

Test yourself

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

Take this quiz