diff --git a/packages/testkit/test/live-ws.test.ts b/packages/testkit/test/live-ws.test.ts index cfbadacc..9046ddf0 100644 --- a/packages/testkit/test/live-ws.test.ts +++ b/packages/testkit/test/live-ws.test.ts @@ -16,7 +16,7 @@ const user = (login: string) => core.upsertUserFromGitea(db, { id: 9100 + seq++, type Msg = Record & { t: string }; /** A connection driven directly: what the server sent and how it closed. */ -function conn(u: core.User) { +function conn(u: import("@peppa/core").User) { const out: Msg[] = []; const closed: Array<{ code: number; reason: string }> = []; const c = new LiveConnection(db, u, (m) => out.push(m as Msg), (code, reason) => closed.push({ code, reason }));