UNPKG

2.96 kBTypeScriptView Raw
1/**
2 * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7import { Config } from '@jest/types';
8import yargs from 'yargs';
9export declare function run(maybeArgv?: Array<string>, project?: Config.Path): Promise<void>;
10export declare const buildArgv: (maybeArgv?: string[] | undefined) => yargs.Arguments<Partial<{
11 all: boolean;
12 automock: boolean;
13 bail: number | boolean;
14 browser: boolean;
15 cache: boolean;
16 cacheDirectory: string;
17 changedFilesWithAncestor: boolean;
18 changedSince: string;
19 ci: boolean;
20 clearCache: boolean;
21 clearMocks: boolean;
22 collectCoverage: boolean;
23 collectCoverageFrom: string;
24 collectCoverageOnlyFrom: string[];
25 color: boolean;
26 colors: boolean;
27 config: string;
28 coverage: boolean;
29 coverageDirectory: string;
30 coveragePathIgnorePatterns: string[];
31 coverageReporters: string[];
32 coverageThreshold: string;
33 debug: boolean;
34 env: string;
35 expand: boolean;
36 findRelatedTests: boolean;
37 forceExit: boolean;
38 globals: string;
39 globalSetup: string | null | undefined;
40 globalTeardown: string | null | undefined;
41 haste: string;
42 init: boolean;
43 json: boolean;
44 lastCommit: boolean;
45 logHeapUsage: boolean;
46 maxWorkers: string | number;
47 moduleDirectories: string[];
48 moduleFileExtensions: string[];
49 moduleNameMapper: string;
50 modulePathIgnorePatterns: string[];
51 modulePaths: string[];
52 noStackTrace: boolean;
53 notify: boolean;
54 notifyMode: string;
55 onlyChanged: boolean;
56 outputFile: string;
57 preset: string | null | undefined;
58 projects: string[];
59 prettierPath: string | null | undefined;
60 resetMocks: boolean;
61 resetModules: boolean;
62 resolver: string | null | undefined;
63 restoreMocks: boolean;
64 rootDir: string;
65 roots: string[];
66 runInBand: boolean;
67 setupFiles: string[];
68 setupFilesAfterEnv: string[];
69 showConfig: boolean;
70 silent: boolean;
71 snapshotSerializers: string[];
72 testEnvironment: string;
73 testFailureExitCode: string | null | undefined;
74 testMatch: string[];
75 testNamePattern: string;
76 testPathIgnorePatterns: string[];
77 testPathPattern: string[];
78 testRegex: string | string[];
79 testResultsProcessor: string | null | undefined;
80 testRunner: string;
81 testSequencer: string;
82 testURL: string;
83 testTimeout: number | null | undefined;
84 timers: string;
85 transform: string;
86 transformIgnorePatterns: string[];
87 unmockedModulePathPatterns: string[] | null | undefined;
88 updateSnapshot: boolean;
89 useStderr: boolean;
90 verbose: boolean | null | undefined;
91 version: boolean;
92 watch: boolean;
93 watchAll: boolean;
94 watchman: boolean;
95 watchPathIgnorePatterns: string[];
96}>>;
97//# sourceMappingURL=index.d.ts.map
\No newline at end of file