Skip to content

Commit

Permalink
chore: skip custom reporter tests in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Mar 16, 2022
1 parent 7b98344 commit 39883e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/reporters/tests/custom-reporter.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ import { resolve } from 'pathe'
import { expect, test } from 'vitest'

test('custom reporters work', async() => {
// in Windows child_process is very unstable, we skip testing it
if (process.platform === 'win32' && process.env.CI)
return

const root = resolve(__dirname, '..')

const { stdout } = await execa('npx', ['vitest', 'run', '--config', 'custom-reporter.vitest.config.ts'], {
Expand Down

0 comments on commit 39883e7

Please sign in to comment.