UNPKG

1.01 kBTypeScriptView Raw
1import { ArgsMap, ExecEnv } from '../scripts';
2import { TestOptions, GroupedPackages } from './interfaces';
3import { PackageInfo } from '../interfaces';
4export declare function getArgs(options: TestOptions): ArgsMap;
5export declare function getEnv(options: TestOptions, suite?: string): ExecEnv;
6export declare function setEnv(options: TestOptions, suite?: string): void;
7export declare function filterBySuite(pkgInfos: PackageInfo[], options: TestOptions): PackageInfo[];
8export declare function groupBySuite(pkgInfos: PackageInfo[], availableSuites: string[], options: TestOptions): GroupedPackages;
9declare type TeardownPkgsArg = {
10 name: string;
11 dir: string;
12 suite?: string;
13}[];
14export declare function globalTeardown(options: TestOptions, pkgs: TeardownPkgsArg): Promise<void>;
15export declare function logE2E(dir: string, failed: boolean): Promise<void>;
16export declare function reportCoverage(suite: string, chunkIndex: number): Promise<void>;
17export {};
18//# sourceMappingURL=utils.d.ts.map
\No newline at end of file