testplane
Version:
Tests framework based on mocha and wdio
15 lines (14 loc) • 585 B
TypeScript
/// <reference types="node" />
import { EventEmitter } from "events";
import type { Config } from "../config";
import type { Test } from "./test-object";
import type { ReadTestsOpts } from "../testplane";
export type TestReaderOpts = {
paths: string[];
} & Partial<ReadTestsOpts>;
export declare class TestReader extends EventEmitter {
#private;
static create<T extends TestReader>(this: new (...args: any[]) => T, ...args: ConstructorParameters<typeof TestReader>): T;
constructor(config: Config);
read(options: TestReaderOpts): Promise<Record<string, Test[]>>;
}