(id: string, source: string, target: string)
| 18 | |
| 19 | describe('captureLatestEdges', () => { |
| 20 | const createEdge = (id: string, source: string, target: string): Edge => ({ |
| 21 | id, |
| 22 | source, |
| 23 | target, |
| 24 | }) |
| 25 | |
| 26 | it('should return edges where blockId is the source', () => { |
| 27 | const edges = [ |