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 70fd9c3 commit 738cd3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/inspect/test/inspect.test.ts
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 738cd3b

Please sign in to comment.