httpyac
Version:
HTTP/REST CLI Client for *.http files
15 lines (14 loc) • 445 B
TypeScript
export declare const testSymbols: {
ok: string;
error: string;
skipped: string;
};
export interface TestFunction {
(message: string, testMethod: () => void): void;
status(status: number): void;
header(headerKey: string, val: string | string[] | undefined): void;
headerContains(headerKey: string, val: string): void;
responseBody(val: unknown): void;
hasResponseBody(): void;
hasNoResponseBody(): void;
}