testplane
Version:
Tests framework based on mocha and wdio
18 lines (17 loc) • 693 B
TypeScript
import type { Command } from "@gemini-testing/commander";
export declare const collectCliValues: (newValue: unknown, array?: unknown[]) => unknown[];
export type TagFilter = (tags: Set<string>) => boolean;
export declare const compileTagFilter: (filter: string) => TagFilter;
export declare const compileGrep: (grep: string) => RegExp;
export declare const handleRequires: (requires?: string[]) => Promise<void>;
export type CommonCmdOpts = {
config?: string;
browser?: Array<string>;
set?: Array<string>;
require?: Array<string>;
grep?: RegExp;
};
export declare const withCommonCliOptions: ({ cmd, actionName }: {
cmd: Command;
actionName: string;
}) => Command;