Transcript
00:00 With the configuration we have right now, Vitest will run all our tests in the browser. This may be what you want if your whole test suite consists only of component tests, but that's unlikely. In practice, your application will have multiple layers of tests, like unit tests, maybe integration tests for Node.js, and only then component tests that you should run in the browser.
00:19 And Vitest is great for all of those types of tests, you just need to help it understand the difference between them. Wouldn't it be great if you can configure multiple test projects within the same code base? Basically, things for Node.js tests, and for your browser tests separately, still using the same testing framework.
00:37 That is precisely your task for this exercise, so follow the instructions, update the Vitest configuration, and have all of your tests passing, because now you will have unit tests and also component-level tests from before. Give it your best, and see you once you're done.