(cg: CodeGraph, name: string)
| 43 | } |
| 44 | |
| 45 | const method = (cg: CodeGraph, name: string): Node => { |
| 46 | const n = cg.getNodesByKind('method').find((m) => m.name === name); |
| 47 | if (!n) throw new Error(`no method ${name}`); |
| 48 | return n; |
| 49 | }; |
| 50 | |
| 51 | const SPRING_POM = '<project><dependencies><dependency><artifactId>spring-boot-starter-web</artifactId></dependency></dependencies></project>'; |
| 52 |
no test coverage detected