From a4cd7457e17d509d2b139d521c81dab9df6a6ba9 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Mon, 18 May 2026 13:29:10 +0900 Subject: [PATCH] test(doctor): force unavailable lsp binary branch in CI Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- src/cli/doctor/checks/tools-lsp.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cli/doctor/checks/tools-lsp.test.ts b/src/cli/doctor/checks/tools-lsp.test.ts index 07045be97..8a8357f9c 100644 --- a/src/cli/doctor/checks/tools-lsp.test.ts +++ b/src/cli/doctor/checks/tools-lsp.test.ts @@ -83,6 +83,9 @@ describe("getInstalledLspServers", () => { const workspaceDirectory = createTemporaryDirectory("omo-tools-lsp-missing-") process.env.OPENCODE_CONFIG_DIR = userConfigDirectory process.chdir(workspaceDirectory) + mock.module("../../../mcp/lsp", () => ({ + createLspMcpConfig: () => null, + })) clearPluginConfigFileDetectionCache() const { getInstalledLspServers } = await import(`./tools-lsp?t=${Date.now()}-missing-cli`)