Vitest Is Collecting Unrelated Tests? Start with the File List
If Vitest reports a failure in a test file you do not recognize, inspect the file path before changing assertions, timeouts, or worker settings. A test collected from a tool's cache needs a different fix from a failing test in your application. The useful question is specific: which files did this invocation discover,…