MCPcopy Create free account
hub / github.com/forwardemail/superagent / addRequest

Function addRequest

test/node/basic.js:332–332  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

330
331 it('should preserve Agent-compatible objects', () => {
332 const agent = { addRequest() {} };
333 const request_ = request.get(`${base}/echo`).agent(agent);
334 assert.strictEqual(request_.agent(), agent);
335 });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected