test(doctor): remove unstable unavailable-binary assertion

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-05-18 13:34:24 +09:00
parent a4cd7457e1
commit 161813c1e6
-19
View File
@@ -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([])
})
})