mirror of https://github.com/openclaw/openclaw.git
test: remove low-signal line account listing coverage
This commit is contained in:
parent
4aab640fd1
commit
242e8f5c43
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue