feat: enhance moderation functionality with type improvements and global broadcaster integration

This commit is contained in:
MythEclipse
2026-05-15 07:13:37 +07:00
parent 930c399484
commit 235c1120c2
12 changed files with 287 additions and 133 deletions
+3 -3
View File
@@ -4,9 +4,9 @@ import { afterAll, beforeAll, describe, expect, it, vi } from "vitest";
const originalEnv = process.env;
describe("Drizzle ORM Database", () => {
let config: any;
let drizzle: any;
let logger: any;
let config: typeof import("../src/config").config;
let drizzle: typeof import("../src/database/drizzle");
let logger: ReturnType<typeof import("../src/logger").createChildLogger>;
beforeAll(async () => {
// Set up environment for config loading