mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-19 16:55:02 +02:00
Co-authored-by: Danny Martini <danny@n8n.io> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
19 lines
851 B
TypeScript
19 lines
851 B
TypeScript
/**
|
|
* Test-only entry point (`@n8n/backend-network/testing`).
|
|
*
|
|
* These helpers are not part of the runtime contract: they exist so existing
|
|
* test suites in other packages can exercise the axios translation internals
|
|
* directly. Keep them out of the main barrel so the public surface stays
|
|
* limited to what production callers actually need.
|
|
*/
|
|
export { convertN8nRequestToAxios, httpRequest } from './http/axios/request';
|
|
export { uninstallGlobalProxyAgent } from './http/http-proxy';
|
|
export { generateContentLengthHeader, isFormDataInstance } from './http/axios/utils';
|
|
export { buildRfcStyleUserAgent, getDefaultN8nOutboundUserAgent } from './http/axios/user-agent';
|
|
export { startServer, type LocalServer } from './http/local-server';
|
|
export {
|
|
createFakeOutboundHttp,
|
|
type Route,
|
|
type MockFnFactory,
|
|
} from './http/fake-outbound-http';
|