UNPKG

@teambit/tester

Version:
38 lines (37 loc) 1.19 kB
import type { Command, CommandOptions, GenericObject } from '@teambit/cli'; import type { Logger } from '@teambit/logger'; import type { Workspace } from '@teambit/workspace'; import type { TesterMain } from './tester.main.runtime'; type TestFlags = { watch: boolean; debug: boolean; all: boolean; unmodified: boolean; env?: string; scope?: string; junit?: string; coverage?: boolean; updateSnapshot: boolean; }; export declare class TestCmd implements Command { private tester; private workspace; private logger; name: string; description: string; helpUrl: string; arguments: { name: string; description: string; }[]; alias: string; group: string; options: CommandOptions; constructor(tester: TesterMain, workspace: Workspace, logger: Logger); report([userPattern]: [string], { watch, debug, all, env, scope, junit, coverage, unmodified, updateSnapshot, }: TestFlags): Promise<"" | { code: number; data: string; }>; json([userPattern]: [string], { watch, debug, env, junit, coverage, unmodified, updateSnapshot, }: TestFlags): Promise<GenericObject>; } export {};