Fix strict TypeScript checks for server

This commit is contained in:
nav
2026-04-09 04:38:07 +00:00
parent 2972c4750e
commit 31f41cb49b
7 changed files with 52 additions and 14 deletions

View File

@@ -5,6 +5,7 @@ import { join } from "node:path";
import { afterEach, describe, expect, it, vi } from "vitest";
import { createYonexusServerRuntime } from "../plugin/core/runtime.js";
import { createMockNotificationService } from "../plugin/notifications/discord.js";
import {
createYonexusServerStore,
loadServerStore,
@@ -90,6 +91,7 @@ describe("YNX-1105e: Server state recovery", () => {
},
store,
transport: firstTransport.transport,
notificationService: createMockNotificationService(),
now: () => now
});
@@ -145,6 +147,7 @@ describe("YNX-1105e: Server state recovery", () => {
},
store,
transport: secondTransport.transport,
notificationService: createMockNotificationService(),
now: () => now
});