MCPcopy Create free account
hub / github.com/expressjs/body-parser / shouldContainInBody

Function shouldContainInBody

test/json.js:770–775  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

768}
769
770function shouldContainInBody (str) {
771 return function (res) {
772 assert.ok(res.text.indexOf(str) !== -1,
773 'expected \'' + res.text + '\' to contain \'' + str + '\'')
774 }
775}

Callers 1

json.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…