(from: string, to: string)
| 223 | expect(byLabel.get('/')?.cut).toBe('screen'); |
| 224 | |
| 225 | const link = (from: string, to: string) => |
| 226 | payload.links.find((l) => l.from === byLabel.get(from)!.id && l.to === byLabel.get(to)!.id); |
| 227 | const req = link('handleZipComplete', 'client.post +1'); |
| 228 | const tap = link('/capture/review', 'handleApprove'); |
| 229 | expect(tap?.kind).toBe('handler'); |