(file: string, code: string)
| 948 | |
| 949 | describe('Generator Function Extraction (#1741)', () => { |
| 950 | const functionNames = (file: string, code: string) => |
| 951 | extractFromSource(file, code) |
| 952 | .nodes.filter((n) => n.kind === 'function') |
| 953 | .map((n) => n.name) |
| 954 | .sort(); |
| 955 | |
| 956 | it('extracts function* and async function* declarations in TypeScript', () => { |
| 957 | process.env.CODEGRAPH_KERNEL = '0'; |
no test coverage detected