UNPKG

selenium-state-machine

Version:
8 lines 682 B
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