UNPKG

flagpole

Version:

Simple and fast DOM integration, headless or headful browser, and REST API testing framework.

14 lines (13 loc) 395 B
import { SimplifiedResponse } from "./response"; import { Cookie } from 'request'; export declare class Mock implements SimplifiedResponse { url: string; statusCode: number; body: string; headers: { [key: string]: string; }; cookies: Cookie[]; protected constructor(url: string, body: string); static loadLocalFile(relativePath: string): Promise<Mock>; }