@testplane/wdio-config
Version:
A helper utility to parse and validate WebdriverIO options
10 lines (9 loc) • 312 B
TypeScript
export interface PathService {
loadFile<T>(path: string): Promise<T>;
isFile(path: string): boolean;
ensureAbsolutePath(path: string, rootDir: string): string;
glob(pattern: string, rootDir: string): string[];
}
export interface ModuleImportService {
import<T>(module: string): Promise<T>;
}