MCPcopy
hub / github.com/loggerhead/json4u / TestData

Interface TestData

__tests__/parseAndFormat.test.ts:6–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected