MCPcopy Index your code
hub / github.com/request/request / clearFauxRequests

Function clearFauxRequests

tests/test-httpModule.js:12–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10var fauxRequestsMade
11
12function clearFauxRequests () {
13 fauxRequestsMade = { http: 0, https: 0 }
14}
15
16function wrapRequest (name, module) {
17 // Just like the http or https module, but note when a request is made.

Callers 1

runTestsFunction · 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…