Fix strict TypeScript checks for server
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user