(kind: string, name: string)
| 112 | const result = extract(backend, crlf ? SOURCE.replace(/\n/g, '\r\n') : SOURCE); |
| 113 | const byName = new Map(result.nodes.map((n) => [`${n.kind} ${n.name}`, n])); |
| 114 | const node = (kind: string, name: string) => { |
| 115 | const found = byName.get(`${kind} ${name}`); |
| 116 | expect(found, `${kind} ${name}`).toBeDefined(); |
| 117 | return found!; |
| 118 | }; |
| 119 | const file = result.nodes.find((n) => n.kind === 'file')!; |
| 120 | |
| 121 | // Every member of a var group is a variable the file contains, with its |
no test coverage detected