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

Function convertExpectedItem

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

Source from the content-addressed store, hash-verified

778// Convert test suite expected item [bareItem, params] to Item
779// deno-lint-ignore no-explicit-any
780function convertExpectedItem(expected: any[]): Item {
781 const [bareItem, params] = expected;
782 return {
783 value: convertExpectedBareItem(bareItem),
784 parameters: convertExpectedParams(params),
785 };
786}
787
788// Convert test suite expected inner list [[items...], params] to InnerList
789// deno-lint-ignore no-explicit-any

Callers 2

runConformanceTestsFunction · 0.85

Calls 2

convertExpectedBareItemFunction · 0.85
convertExpectedParamsFunction · 0.85

Tested by

no test coverage detected