selenium-state-machine
Version:
Write Selenium tests using state machines
8 lines • 682 B
TypeScript
import { DependencyMap } from './Dependency';
import { ProvidePublic, ProvideComplete } from './Provide';
export declare type ProvideFunction<T extends DependencyMap> = (provide: ProvidePublic, dependencies: T) => Promise<ProvideComplete> | ProvideComplete;
declare type NamedItType<T extends DependencyMap> = ((name: string, func: ProvideFunction<T>) => void);
declare type ItType<T extends DependencyMap> = ((func: ProvideFunction<T>) => void);
export declare function describe<T extends DependencyMap>(name: string, dependencies: T, timeout: number, func: (it: NamedItType<T>, anonymousIt: ItType<T>) => Promise<void> | void): void;
export {};
//# sourceMappingURL=Mocha.d.ts.map