UNPKG

pactum

Version:

REST API Testing Tool for all levels in a Test Pyramid

11 lines 308 B
/** * runs the specified state handler * @example * await state.set('there is a user in system'); */ export function set(name: string): Promise<void>; /** * @example * await state.set('there is a user in system with', { name: 'stark' }); */ export function set(name: string, data: any): Promise<void>;