@sprucelabs/test-utils
Version:
Helpful utilities to make asserting more complicated conditions quick and easy! ⚡️
10 lines (9 loc) • 628 B
TypeScript
/** Test decorator */
declare function test(description?: string, ...args: any[]): (Target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
declare namespace test {
var only: (description?: string, ...args: any[]) => (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
var todo: (description?: string, ..._args: any[]) => (target: any, propertyKey: string) => void;
var skip: (description?: string, ...args: any[]) => (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
}
export default test;
export declare function suite(): (Target: any) => void;