(overrides: Partial<BashMonitorWakePayload> = {})
| 19 | } |
| 20 | |
| 21 | function 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 | |
| 35 | describe("BashMonitorWakeStore", () => { |
| 36 | let rootDir: string; |
no outgoing calls
no test coverage detected