flagpole
Version:
Simple and fast DOM integration, headless or headful browser, and REST API testing framework.
12 lines (11 loc) • 528 B
TypeScript
import { iResponse, GenericResponse, NormalizedResponse, ResponseType } from "./response";
import { Scenario } from "./scenario";
import { Value } from './value';
export declare class ResourceResponse extends GenericResponse implements iResponse {
readonly type: ResponseType;
constructor(scenario: Scenario, response: NormalizedResponse);
readonly typeName: string;
evaluate(context: any, callback: Function): Promise<any>;
find(path: string): Promise<Value>;
findAll(path: string): Promise<Value[]>;
}