(tag: string, status: string)
| 31 | ]) |
| 32 | |
| 33 | const completed = (tag: string, status: string) => |
| 34 | Buffer.concat([ |
| 35 | backendMessage("1", Buffer.alloc(0)), |
| 36 | backendMessage("2", Buffer.alloc(0)), |
| 37 | backendMessage("n", Buffer.alloc(0)), |
| 38 | backendMessage("C", Buffer.from(`${tag}\0`)), |
| 39 | backendMessage("Z", Buffer.from(status)) |
| 40 | ]) |
| 41 | |
| 42 | const waitFor = (predicate: () => boolean) => |
| 43 | Effect.promise(async () => { |
no test coverage detected