From 8fe09eba7ff02554e7ae2be76f05ca37e632dacb Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Sat, 31 Oct 2026 10:44:36 +0800 Subject: [PATCH] test(debugger): pin the module in the Java separator tests (#514) Java launch now resolves the module of a main class before starting, so these tests reached the unmocked file search. They only cover path separators, so set the module. --- src/features/debugger/__tests__/javaSeparator.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/features/debugger/__tests__/javaSeparator.test.ts b/src/features/debugger/__tests__/javaSeparator.test.ts index a6a93d131..4673acc2a 100644 --- a/src/features/debugger/__tests__/javaSeparator.test.ts +++ b/src/features/debugger/__tests__/javaSeparator.test.ts @@ -18,6 +18,7 @@ const config: RunConfig = { id: "main", name: "Main", kind: "application", + module: "", command: "java", args: ["-cp", "${classpath}", "Main"], cwd: null,