[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

chore: skip all tests in git-changed under ecosystem-ci

Vladimir Sheremet (May 2, 2024, 12:17 PM +0200) b9a411d6 19a21e49

+3 -3
+3 -3
test/cli/test/git-changed.test.ts
··· 34 34 }) 35 35 }) 36 36 37 - it('related correctly runs only related tests', async () => { 37 + it.skipIf(process.env.ECOSYSTEM_CI)('related correctly runs only related tests', async () => { 38 38 const { stdout, stderr } = await runVitest({ 39 39 related: 'src/sourceA.ts', 40 40 root: './fixtures/git-changed/related', ··· 49 49 expect(stdout).not.toContain('not-related.test.ts') 50 50 }) 51 51 52 - it('doesn\'t run any test in a workspace because there are no changes', async () => { 52 + it.skipIf(process.env.ECOSYSTEM_CI)('doesn\'t run any test in a workspace because there are no changes', async () => { 53 53 const { stdout } = await runVitest({ 54 54 changed: true, 55 55 root: './fixtures/git-changed/workspace', ··· 59 59 }) 60 60 61 61 // Fixes #4674 62 - it('related correctly runs only related tests inside a workspace', async () => { 62 + it.skipIf(process.env.ECOSYSTEM_CI)('related correctly runs only related tests inside a workspace', async () => { 63 63 editFile( 64 64 resolvePath(import.meta.url, '../fixtures/git-changed/workspace/packages/packageA/index.js'), 65 65 content => `${content}\n`,