MCPcopy
hub / github.com/axios/axios / adapter

Function adapter

tests/unit/api.test.js:84–95  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

82
83 await axios[method]('/test', {
84 adapter(config) {
85 seenData = config.data;
86
87 return Promise.resolve({
88 data: null,
89 status: 200,
90 statusText: 'OK',
91 headers: {},
92 config,
93 request: {},
94 });
95 },
96 });
97
98 assert.strictEqual(seenData, undefined);

Callers 1

dispatchRequestFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected