From 3ca0696b95390ed18d5cc3d611835d435a610fda Mon Sep 17 00:00:00 2001 From: Josh Gratton Date: Fri, 5 Jun 2026 13:51:07 -0400 Subject: [PATCH] test: point WSL test imports at vite-plus/test after upstream sync Upstream #2964 migrated the workspace test imports from "vitest" to "vite-plus/test" and dropped vitest as a resolvable module. Our WSL test files predate that migration and still imported from "vitest", which broke typecheck (TS2307) after merging main. Repoint them. --- apps/desktop/src/wsl/DesktopWslEnvironment.test.ts | 2 +- apps/desktop/src/wsl/wslPathParsing.test.ts | 2 +- apps/web/src/wslPaths.test.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/desktop/src/wsl/DesktopWslEnvironment.test.ts b/apps/desktop/src/wsl/DesktopWslEnvironment.test.ts index 9a881318ad..ee162d464e 100644 --- a/apps/desktop/src/wsl/DesktopWslEnvironment.test.ts +++ b/apps/desktop/src/wsl/DesktopWslEnvironment.test.ts @@ -1,4 +1,4 @@ -import { describe, it, expect } from "vitest"; +import { describe, it, expect } from "vite-plus/test"; import { formatMissingToolsReason, parseToolchainReport } from "./DesktopWslEnvironment.ts"; diff --git a/apps/desktop/src/wsl/wslPathParsing.test.ts b/apps/desktop/src/wsl/wslPathParsing.test.ts index 08df540773..41e358227e 100644 --- a/apps/desktop/src/wsl/wslPathParsing.test.ts +++ b/apps/desktop/src/wsl/wslPathParsing.test.ts @@ -1,4 +1,4 @@ -import { describe, it, expect } from "vitest"; +import { describe, it, expect } from "vite-plus/test"; import { DISTRO_NAME_PATTERN, diff --git a/apps/web/src/wslPaths.test.ts b/apps/web/src/wslPaths.test.ts index 60f66298fc..c639c21120 100644 --- a/apps/web/src/wslPaths.test.ts +++ b/apps/web/src/wslPaths.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { parseWslUncPath } from "./wslPaths";