bit-bin
Version:
<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b
27 lines (26 loc) • 1.02 kB
TypeScript
import { Environments } from '../environments';
import { Workspace } from '../workspace';
import { TesterService } from './tester.service';
import { Component } from '../component';
import { TesterTask } from './tester.task';
import { CLIExtension } from '../cli';
export declare type TesterExtensionConfig = {
testRegex: string;
};
export declare class TesterExtension {
private envs;
private workspace;
readonly service: TesterService;
readonly task: TesterTask;
static id: string;
static dependencies: (import("@teambit/harmony").ExtensionManifest | typeof Environments | typeof CLIExtension)[];
constructor(envs: Environments, workspace: Workspace, service: TesterService, task: TesterTask);
test(components: Component[]): Promise<{
env: string;
res: any;
}[]>;
static defaultConfig: {
testRegex: string;
};
static provider([cli, envs, workspace]: [CLIExtension, Environments, Workspace], config: TesterExtensionConfig): TesterExtension;
}