MCPcopy
hub / github.com/nock/nock / get

Method get

lib/scope.js:133–135  ·  view source on GitHub ↗
(uri, requestBody, options)

Source from the content-addressed store, hash-verified

131 }
132
133 get(uri, requestBody, options) {
134 return this.intercept(uri, 'GET', requestBody, options)
135 }
136
137 post(uri, requestBody, options) {
138 return this.intercept(uri, 'POST', requestBody, options)

Callers 15

tests.tsFile · 0.80
match_body.jsFile · 0.80
requestMatchesFilterMethod · 0.80
matchMethod · 0.80
contentEncodingFunction · 0.80
isJSONContentFunction · 0.80
recordFunction · 0.80
getDecompressedGetBodyFunction · 0.80
activateFunction · 0.80
test_fetch.jsFile · 0.80
test_abort.jsFile · 0.80
test_socket.jsFile · 0.80

Calls 1

interceptMethod · 0.95

Tested by

no test coverage detected