Testing · Senior · Question 29 of 75
What does Vitest's projects option (formerly workspace) solve?
- ✓Correct answer: Running different configs in one run - e.g. Node unit tests and browser component tests, or several packages in a monorepo
- 2Splitting tests across CI machines
- 3Generating a project from tests
Explanation
Each project can have its own environment, setup files and include patterns.