Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Dec 7, 2023
1 parent 9282bb4 commit 5cb1a07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/changed/tests/workspaceRelated.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 5cb1a07

Please sign in to comment.