MCPcopy Create free account
hub / github.com/ded/reqwest / queryMatch

Function queryMatch

tests/tests.js:743–745  ·  view source on GitHub ↗
(resp, key, expected)

Source from the content-addressed store, hash-verified

741 return resp && resp.headers && resp.headers[key] === expected
742 }
743 function queryMatch(resp, key, expected) {
744 return resp && resp.query && resp.query[key] === expected
745 }
746
747 test('standard mode default', function (complete) {
748 ajax({

Callers 1

tests.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected