graphdb-workbench
Version:
The web application for GraphDB APIs
12 lines (11 loc) • 424 B
TypeScript
import { ResponseMock } from '../../http/test/response-mock';
export declare class TestUtil {
private static requestsMap;
static getRequest(url: string): RequestInit | undefined;
static mockResponse(responseMock: ResponseMock): void;
static mockResponses(responseMocks: ResponseMock[]): void;
/**
* Clears all mocks after each test to ensure isolation.
*/
static restoreAllMocks(): void;
}