@iamkenos/iris
Version:
Test API endpoints with Axios & Jest using a collection of custom matchers and built-in utility functions.
10 lines (9 loc) • 325 B
TypeScript
import { Request } from "../client/index";
import type { Spec } from "../client/index";
export declare const givenRequest: (url: string, options: Spec & {
shouldAttachBody?: boolean;
}) => Request;
export declare const givenGraphQLQueryFile: (file: string, variables?: any) => {
query: string;
variables: any;
};