Update checked-in dependencies
This commit is contained in:
parent
4b72bef651
commit
dbb232a3d8
1389 changed files with 209949 additions and 542 deletions
4
node_modules/@mswjs/interceptors/src/RemoteHttpInterceptor.ts
generated
vendored
4
node_modules/@mswjs/interceptors/src/RemoteHttpInterceptor.ts
generated
vendored
|
|
@ -4,6 +4,7 @@ import { Interceptor } from './Interceptor'
|
|||
import { BatchInterceptor } from './BatchInterceptor'
|
||||
import { ClientRequestInterceptor } from './interceptors/ClientRequest'
|
||||
import { XMLHttpRequestInterceptor } from './interceptors/XMLHttpRequest'
|
||||
import { FetchInterceptor } from './interceptors/fetch'
|
||||
import { handleRequest } from './utils/handleRequest'
|
||||
import { RequestController } from './RequestController'
|
||||
import { FetchResponse } from './utils/fetchUtils'
|
||||
|
|
@ -30,7 +31,7 @@ export interface SerializedResponse {
|
|||
}
|
||||
|
||||
export class RemoteHttpInterceptor extends BatchInterceptor<
|
||||
[ClientRequestInterceptor, XMLHttpRequestInterceptor]
|
||||
[ClientRequestInterceptor, XMLHttpRequestInterceptor, FetchInterceptor]
|
||||
> {
|
||||
constructor() {
|
||||
super({
|
||||
|
|
@ -38,6 +39,7 @@ export class RemoteHttpInterceptor extends BatchInterceptor<
|
|||
interceptors: [
|
||||
new ClientRequestInterceptor(),
|
||||
new XMLHttpRequestInterceptor(),
|
||||
new FetchInterceptor(),
|
||||
],
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue