MCPcopy
hub / github.com/coder/mux / payload

Function payload

src/node/services/bashMonitorWakeStore.test.ts:21–33  ·  view source on GitHub ↗
(overrides: Partial<BashMonitorWakePayload> = {})

Source from the content-addressed store, hash-verified

19}
20
21function payload(overrides: Partial<BashMonitorWakePayload> = {}): BashMonitorWakePayload {
22 return {
23 processId: "proc-1",
24 taskId: "bash:proc-1",
25 workspaceId: "owner-1",
26 filter: "ERROR",
27 filterExclude: false,
28 lines: ["ERROR one"],
29 totalMatches: 1,
30 timestamp: Date.now(),
31 ...overrides,
32 };
33}
34
35describe("BashMonitorWakeStore", () => {
36 let rootDir: string;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected