25 lines
695 B
TypeScript
25 lines
695 B
TypeScript
import { q as HttpResponse } from './HttpResponse-Cw4ELwIN.mjs';
|
|
import '@mswjs/interceptors';
|
|
import './utils/internal/isIterable.mjs';
|
|
import './typeUtils.mjs';
|
|
import 'graphql';
|
|
import './utils/matching/matchRequestUrl.mjs';
|
|
|
|
/**
|
|
* Performs the intercepted request as-is.
|
|
*
|
|
* This stops request handler lookup so no other handlers
|
|
* can affect this request past this point.
|
|
* Unlike `bypass()`, this will not trigger an additional request.
|
|
*
|
|
* @example
|
|
* http.get('/resource', () => {
|
|
* return passthrough()
|
|
* })
|
|
*
|
|
* @see {@link https://mswjs.io/docs/api/passthrough `passthrough()` API reference}
|
|
*/
|
|
declare function passthrough(): HttpResponse<any>;
|
|
|
|
export { passthrough };
|