Unified · Split
| @@ -4,7 +4,9 @@ import { join } from "node:path"; · 3 unmodified lines | ||
| 4 | 4 | |
| 5 | 5 | import { describe, expect, it, beforeAll, afterAll } from "vitest"; |
| 6 | 6 | import { Effect } from "effect"; |
| 7 | −import { createEmulator, type EmulatorClient } from "@executor-js/emulate"; | |
| 7 | +import { createEmulator } from "@executor-js/emulate"; | |
| 8 | + | |
| 9 | +type LocalEmulator = Awaited<ReturnType<typeof createEmulator>>; | |
| 8 | 10 | |
| 9 | 11 | import { makeSelfHostAppsRuntime, type SelfHostAppsRuntime } from "../plugin/self-host-runtime"; |
| 10 | 12 | import { makeAppsHttpRoutes } from "../http/routes"; |
| @@ -52,7 +54,7 @@ class FakeMcpServer implements McpServerLike { · 41 unmodified lines | ||
| 52 | 54 | const run = <A, E>(effect: Effect.Effect<A, E>): Promise<A> => Effect.runPromise(effect as never); |
| 53 | 55 | |
| 54 | 56 | describe("Executor apps e2e (self-host, real GitHub emulator)", () => { |
| 55 | − let github: EmulatorClient; | |
| 57 | + let github: LocalEmulator; | |
| 56 | 58 | let host: SelfHostAppsRuntime; |
| 57 | 59 | let http: ReturnType<typeof makeAppsHttpRoutes>; |
| 58 | 60 | let mcp: FakeMcpServer; |