@mswjs/interceptors
Version:
Low-level HTTP/HTTPS/XHR/fetch request interception library.
1 lines • 545 B
Source Map (JSON)
{"version":3,"file":"browser.mjs","names":[],"sources":["../../../src/presets/browser.ts"],"sourcesContent":["import { FetchInterceptor } from '../interceptors/fetch'\nimport { XMLHttpRequestInterceptor } from '../interceptors/XMLHttpRequest'\n\n/**\n * The default preset provisions the interception of requests\n * regardless of their type (fetch/XMLHttpRequest).\n */\nexport default [\n new FetchInterceptor(),\n new XMLHttpRequestInterceptor(),\n] as const\n"],"mappings":";;;;;;;;;;;;AAOA,sBAAe,CACb,IAAI,kBAAkB,EACtB,IAAI,2BAA2B,CAChC"}