(name: string)
| 13945 | const cg = await CodeGraph.init(dir, { index: true }); |
| 13946 | try { |
| 13947 | const flag = (name: string) => |
| 13948 | cg.getNodesByKind('method').concat(cg.getNodesByKind('function')).find((n) => n.name === name)!.isExported; |
| 13949 | expect(flag('Close')).toBe(true); |
| 13950 | expect(flag('flush')).toBe(false); |
| 13951 | expect(flag('Open')).toBe(true); |
no test coverage detected