fix: update TaskStore mock implementation type casting

This commit is contained in:
gsxdsm
2026-04-01 22:06:18 -07:00
parent 64295637f2
commit e0266b4840

View File

@@ -142,7 +142,7 @@ describe("runDashboard — AuthStorage & ModelRegistry wiring", () => {
errors: [],
});
const { TaskStore } = await import("@fusion/core");
(TaskStore as ReturnType<typeof vi.fn>).mockImplementation(() => makeMockStore());
(TaskStore as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => makeMockStore());
});
it("passes authStorage and modelRegistry to createServer", async () => {