@iamkenos/iris
Version:
Test API endpoints with Axios & Jest using a collection of custom matchers and built-in utility functions.
10 lines (9 loc) • 340 B
TypeScript
export * from "./match-json-schema";
declare global {
namespace jest {
/** All custom matchers should follow [jest matchers](https://github.com/facebook/jest/blob/master/packages/expect/src/matchers.ts) format */
interface Matchers<R> {
toMatchJsonSchema: (filename: string) => Promise<R>;
}
}
}