From 7d34ce8f10e4529a64bc1214f980a9215971976e Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 26 Jun 2026 07:20:58 +0000 Subject: [PATCH] Fix TS2709: use typeof SimulationsRegistry as type argument Namespace imports must be referenced with typeof when used as a type parameter. Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_01PPrEA7jt8Y47Cewq22gMyv --- app/services/simulations/__tests__/runner.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/simulations/__tests__/runner.test.ts b/app/services/simulations/__tests__/runner.test.ts index 736468a..0c4f9b4 100644 --- a/app/services/simulations/__tests__/runner.test.ts +++ b/app/services/simulations/__tests__/runner.test.ts @@ -25,7 +25,7 @@ vi.mock("~/models/scoring-calculator", () => ({ vi.mock("~/services/simulations/registry", async (importOriginal) => { // Keep the real SIMULATOR_TYPES / getSimulatorInfo so the manifest (pulled in // transitively via input-policy) can build; only stub getSimulator. - const actual = await importOriginal(); + const actual = await importOriginal(); return { ...actual, getSimulator: vi.fn() }; }); vi.mock("~/services/simulations/simulation-probabilities", () => ({