MCPcopy Create free account
hub / github.com/denoland/std / convertExpectedInnerList

Function convertExpectedInnerList

http/unstable_structured_fields_test.ts:790–796  ·  view source on GitHub ↗
(expected: any[])

Source from the content-addressed store, hash-verified

788// Convert test suite expected inner list [[items...], params] to InnerList
789// deno-lint-ignore no-explicit-any
790function convertExpectedInnerList(expected: any[]): InnerList {
791 const [items, params] = expected;
792 return {
793 items: items.map(convertExpectedItem),
794 parameters: convertExpectedParams(params),
795 };
796}
797
798// Check if expected value represents an inner list
799// deno-lint-ignore no-explicit-any

Callers 1

Calls 1

convertExpectedParamsFunction · 0.85

Tested by

no test coverage detected