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

Function convertExpectedParams

http/unstable_structured_fields_test.ts:770–776  ·  view source on GitHub ↗
(params: any[])

Source from the content-addressed store, hash-verified

768// Convert test suite expected params array to Map
769// deno-lint-ignore no-explicit-any
770function convertExpectedParams(params: any[]): Map<string, BareItem> {
771 const map = new Map<string, BareItem>();
772 for (const [key, value] of params) {
773 map.set(key, convertExpectedBareItem(value));
774 }
775 return map;
776}
777
778// Convert test suite expected item [bareItem, params] to Item
779// deno-lint-ignore no-explicit-any

Callers 2

convertExpectedItemFunction · 0.85
convertExpectedInnerListFunction · 0.85

Calls 2

convertExpectedBareItemFunction · 0.85
setMethod · 0.65

Tested by

no test coverage detected