UNPKG

soda-test

Version:

Package for Unit and API tests

12 lines (11 loc) 574 B
import { targetType } from "./executables"; import { extraInfo } from "./testInfo"; export type factoryMethod = () => unknown; export declare function testStep(): (target: targetType, propertyKey: string) => void; type anyClass = Function; export declare function testCase(text: string, stepsConstructor: anyClass, constructorArgs?: unknown[], extraData?: extraInfo): MethodDecorator; export type stepMethod<TSC> = { (text: string, instanceIndex?: number, extraData?: extraInfo): TSC; comment: (text: string, extraData?: extraInfo) => void; }; export {};