Skip to content

Commit b677b72

Browse files
scotthuangsteipete
authored andcommitted
test(gateway): import GatewayRequestContext from local server-methods barrel
Fixes the chat error-broadcast regression test so it can resolve its type import. The previous `../types.js` path does not exist in the gateway tree; the shared types are re-exported from `src/gateway/server-methods/types.ts`, so the test must use `./types.js`. Addresses ClawSweeper review on PR #85815.
1 parent eed2d34 commit b677b72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gateway/server-methods/chat.error-broadcast.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { describe, expect, it, vi } from "vitest";
2-
import type { GatewayRequestContext } from "../types.js";
32
import { chatHandlers } from "./chat.js";
3+
import type { GatewayRequestContext } from "./types.js";
44

55
function createMockContext() {
66
const broadcast = vi.fn();

0 commit comments

Comments
 (0)