feat: unify group mention defaults

This commit is contained in:
Peter Steinberger
2026-01-02 22:50:51 +01:00
parent 281dc10b2f
commit a9ff03acaf
7 changed files with 49 additions and 14 deletions

View File

@@ -2,7 +2,9 @@ import { beforeEach, describe, expect, it, vi } from "vitest";
import * as replyModule from "../auto-reply/reply.js";
import { createTelegramBot } from "./bot.js";
const loadConfig = vi.fn(() => ({}));
const { loadConfig } = vi.hoisted(() => ({
loadConfig: vi.fn(() => ({})),
}));
vi.mock("../config/config.js", () => ({
loadConfig,
}));