Skip to content

Commit

Permalink
test: skip interactive CLI test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio committed Mar 10, 2024
1 parent 891d97c commit 74ba553
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/inspect/test/inspect.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ import type { InspectorNotification } from 'node:inspector'
import { expect, test } from 'vitest'
import WebSocket from 'ws'

import { isWindows } from '../../../packages/vite-node/src/utils'
import { runVitestCli } from '../../test-utils'

type Message = Partial<InspectorNotification<any>>

test('--inspect-brk stops at test file', async () => {
test.skipIf(isWindows)('--inspect-brk stops at test file', async () => {
const vitest = await runVitestCli('--root', 'fixtures', '--inspect-brk', '--no-file-parallelism')

await vitest.waitForStderr('Debugger listening on ')
Expand Down

0 comments on commit 74ba553

Please sign in to comment.