(name: string, nodeType: string = 'test')
| 6 | |
| 7 | describe('GraphValidator', () => { |
| 8 | const createNode = (name: string, nodeType: string = 'test'): Node => ({ |
| 9 | type: 'node', |
| 10 | name, |
| 11 | nodeType, |
| 12 | metadata: [] |
| 13 | }); |
| 14 | |
| 15 | const createEdge = (from: string, to: string, edgeType: string = 'related'): Edge => ({ |
| 16 | type: 'edge', |
no outgoing calls
no test coverage detected