test: remove low-signal line account listing coverage

This commit is contained in:
Peter Steinberger
2026-02-16 07:58:00 +00:00
parent 4aab640fd1
commit 242e8f5c43

View File

@@ -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 = {