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