From 738cd3b88ac033e7e5bcefb7b09b5c879d8361c9 Mon Sep 17 00:00:00 2001 From: AriPerkkio Date: Sun, 10 Mar 2024 14:19:51 +0200 Subject: [PATCH] test: skip interactive CLI test on windows --- test/inspect/test/inspect.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/inspect/test/inspect.test.ts b/test/inspect/test/inspect.test.ts index 6b8874515f7d..bc634436727d 100644 --- a/test/inspect/test/inspect.test.ts +++ b/test/inspect/test/inspect.test.ts @@ -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> -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 ')