| 4 | import { readFileIfNeed } from "./utils"; |
| 5 | |
| 6 | interface TestData { |
| 7 | id: string; |
| 8 | offset: number; |
| 9 | length: number; |
| 10 | boundOffset: number; |
| 11 | boundLength: number; |
| 12 | } |
| 13 | |
| 14 | async function doExpect(options: Partial<ParseOptions>, text: string, ...aa: TestData[]) { |
| 15 | const { treeObject } = await parseAndFormat(text, { |
nothing calls this directly
no outgoing calls
no test coverage detected