MCPcopy
hub / github.com/expressjs/body-parser / expectKeyCount

Function expectKeyCount

test/urlencoded.js:966–970  ·  view source on GitHub ↗
(count)

Source from the content-addressed store, hash-verified

964}
965
966function expectKeyCount (count) {
967 return function (res) {
968 assert.strictEqual(Object.keys(JSON.parse(res.text)).length, count)
969 }
970}

Callers 1

urlencoded.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…