zotero-ts-api
Version:
A TypeScript API wrapper for Zotero
6 lines • 409 B
TypeScript
export declare const createMockResponse: (data: any, options?: Partial<Response>) => Response;
export declare const mockFetchSuccess: (data: any) => void;
export declare const mockFetchError: (status: number, statusText: string) => void;
export declare const mockFetchNetworkError: (message?: string) => void;
export declare const mockFetchMalformedJSON: () => void;
//# sourceMappingURL=test-helpers.d.ts.map