From 242e8f5c434503e37743cbe5b7ffab9740bb8e2c Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 16 Feb 2026 07:58:00 +0000 Subject: [PATCH] test: remove low-signal line account listing coverage --- src/line/accounts.test.ts | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/line/accounts.test.ts b/src/line/accounts.test.ts index 08c57df0b..c74841b21 100644 --- a/src/line/accounts.test.ts +++ b/src/line/accounts.test.ts @@ -2,7 +2,6 @@ import { describe, it, expect, beforeEach, afterEach } from "vitest"; import type { OpenClawConfig } from "../config/config.js"; import { resolveLineAccount, - listLineAccountIds, resolveDefaultLineAccountId, normalizeAccountId, DEFAULT_ACCOUNT_ID, @@ -100,22 +99,6 @@ describe("LINE accounts", () => { }); }); - describe("listLineAccountIds", () => { - it("returns default account when configured at base level", () => { - const cfg: OpenClawConfig = { - channels: { - line: { - channelAccessToken: "test-token", - }, - }, - }; - - const ids = listLineAccountIds(cfg); - - expect(ids).toContain(DEFAULT_ACCOUNT_ID); - }); - }); - describe("resolveDefaultLineAccountId", () => { it("returns first named account when default not configured", () => { const cfg: OpenClawConfig = {