Files
ihrm/node_modules/@stencil/core/testing/mock-fetch.d.ts
Nikhil Ravi Cybrosys e1794e7422 [UPDT]translations in the views (#4)
[UPDT]Translations in the views
[FIX]major bug fixes
2023-05-18 15:05:28 +05:30

12 lines
535 B
TypeScript
Executable File

import { MockResponse } from '../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 '../mock-doc';