refactor: trim secondary test helper exports

This commit is contained in:
Peter Steinberger
2026-05-02 04:45:49 +01:00
parent c8fe007c42
commit a93ce361ab
2 changed files with 0 additions and 19 deletions

View File

@@ -305,13 +305,6 @@ export function requireSessionStorePath(cfg: { session?: { store?: string } }):
return storePath;
}
export async function readSessionStore(cfg: {
session?: { store?: string };
}): Promise<Record<string, { elevatedLevel?: string }>> {
const storeRaw = await fs.readFile(requireSessionStorePath(cfg), "utf-8");
return JSON.parse(storeRaw) as Record<string, { elevatedLevel?: string }>;
}
export async function expectInlineCommandHandledAndStripped(params: {
home: string;
getReplyFromConfig: typeof import("../../../src/auto-reply/reply.js").getReplyFromConfig;