UNPKG

@iamkenos/iris

Version:

Test API endpoints with Axios & Jest using a collection of custom matchers and built-in utility functions.

14 lines (13 loc) 759 B
import { Request, Response } from "../../client/index"; import { Reporter as JestReporter } from "jest-allure/src/Reporter"; export declare abstract class Reporter { static directory(): string; static instance(): JestReporter; static addAttachment(...args: Parameters<JestReporter["addAttachment"]>): void; static startStep(...args: Parameters<JestReporter["startStep"]>): void; static endStep(...args: Parameters<JestReporter["endStep"]>): void; static attachFile(title: string, filename: string, attachment: any, mimetype: string): void; static attachJSON(title: string, filename: string): void; static attachRequest(request: Request, shouldAttachBody?: boolean): void; static attachResponse(response: Response): void; }