UNPKG

spec-mate

Version:

A powerful, flexible, and easy-to-use API testing framework for Node.js.

8 lines (7 loc) 222 B
export type HookFunction = (context: any) => void | Promise<void>; export interface Hooks { beforeRequest?: HookFunction; afterRequest?: HookFunction; beforeTest?: HookFunction; afterTest?: HookFunction; }