MCPcopy Index your code
hub / github.com/gTile/gTile / testSyntacticError

Function testSyntacticError

test/ResizePresetListParser.ts:40–47  ·  view source on GitHub ↗
(
  t: ExecutionContext,
  ...presets: string[]
)

Source from the content-addressed store, hash-verified

38);
39
40const testSyntacticError = (
41 t: ExecutionContext,
42 ...presets: string[]
43) => {
44 for (const preset of presets) {
45 t.is((new ResizePresetListParser(preset)).parse(), null);
46 }
47};
48
49test("handles invalid specs",
50 testSyntacticError,

Callers

nothing calls this directly

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected