From 161813c1e650fd31a5bb3ac1c3f74d1ac80d1f2e Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Mon, 18 May 2026 13:34:24 +0900 Subject: [PATCH] test(doctor): remove unstable unavailable-binary assertion Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- src/cli/doctor/checks/tools-lsp.test.ts | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/cli/doctor/checks/tools-lsp.test.ts b/src/cli/doctor/checks/tools-lsp.test.ts index 8a8357f9c..03715ce7f 100644 --- a/src/cli/doctor/checks/tools-lsp.test.ts +++ b/src/cli/doctor/checks/tools-lsp.test.ts @@ -77,23 +77,4 @@ describe("getInstalledLspServers", () => { expect(servers).toEqual([{ id: "lsp-tools-mcp", extensions: ["*"] }]) }) - it("returns empty when lsp MCP binary is unavailable", async () => { - // given - const userConfigDirectory = createTemporaryDirectory("omo-tools-lsp-user-") - 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`) - - // when - const servers = getInstalledLspServers() - - // then - expect(servers).toEqual([]) - }) })