(q: string, file?: string)
| 1136 | await cg.indexAll(); |
| 1137 | try { |
| 1138 | const byQname = (q: string, file?: string) => |
| 1139 | cg |
| 1140 | .getNodesByName(q.split('.').pop()!) |
| 1141 | .filter((n) => n.qualifiedName === q && (!file || n.filePath === file)); |
| 1142 | |
| 1143 | const moduleDecl = byQname('module.vpc')[0]; |
| 1144 | expect(moduleDecl, 'module.vpc declaration node').toBeDefined(); |
no test coverage detected