You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

11 lines
552 B

import { MockResponse } from '@stencil/core/mock-doc';
export declare function setupMockFetch(global: any): void;
export declare function mockFetchReset(): void;
export declare const mockFetch: {
json(data: any, url: string): void;
text(data: string, url: string): void;
response(rsp: MockResponse, url: string): void;
reject(rsp: MockResponse, url: string): void;
reset: typeof mockFetchReset;
};
export { MockHeaders, MockRequest, MockRequestInfo, MockRequestInit, MockResponse, MockResponseInit, } from '@stencil/core/mock-doc';