diff --git a/test/changed/tests/workspaceRelated.test.ts b/test/changed/tests/workspaceRelated.test.ts index 8127d1bb0bfe..fdc4bf9546fc 100644 --- a/test/changed/tests/workspaceRelated.test.ts +++ b/test/changed/tests/workspaceRelated.test.ts @@ -8,6 +8,7 @@ it('doesn\'t run any test in a workspace because there are no changes', async () expect(stdout).toContain('No test files found, exiting with code 0') }) +// Fixes #4674 it('related correctly runs only related tests inside a workspace', async () => { editFile(resolvePath(import.meta.url, '../fixtures/workspace/packages/packageA/index.js'), content => `${content}\n`) const { stdout, stderr } = await runVitestCli('--root', join(process.cwd(), './fixtures/workspace'), '--no-watch', '--changed')