testplane
Version:
Tests framework based on mocha and wdio
10 lines (9 loc) • 418 B
TypeScript
/// <reference types="node" />
import type { EventEmitter } from "events";
export declare class OnlyController {
#private;
static create<T extends OnlyController>(this: new (eventBus: EventEmitter) => T, eventBus: EventEmitter): T;
constructor(eventBus: EventEmitter);
in(matchers: string | RegExp | Array<string | RegExp>): this;
notIn(matchers: string | RegExp | Array<string | RegExp>): this;
}