(left: StreamCommit, right: StreamCommit)
| 108 | } |
| 109 | |
| 110 | function sameCommit(left: StreamCommit, right: StreamCommit) { |
| 111 | return ( |
| 112 | left.kind === right.kind && |
| 113 | left.text === right.text && |
| 114 | left.phase === right.phase && |
| 115 | left.source === right.source && |
| 116 | left.messageID === right.messageID && |
| 117 | left.partID === right.partID && |
| 118 | left.tool === right.tool && |
| 119 | left.interrupted === right.interrupted && |
| 120 | left.toolState === right.toolState && |
| 121 | left.toolError === right.toolError |
| 122 | ) |
| 123 | } |
| 124 | |
| 125 | function text(value: unknown): string | undefined { |
| 126 | if (typeof value !== "string") { |
no outgoing calls
no test coverage detected