1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | import type { Config } from '@jest/types';
|
8 | import * as constants from './constants';
|
9 | export { resolveTestEnvironment as getTestEnvironment } from 'jest-resolve';
|
10 | export { isJSONString } from './utils';
|
11 | export { default as normalize } from './normalize';
|
12 | export { default as deprecationEntries } from './Deprecated';
|
13 | export { replaceRootDirInPath } from './utils';
|
14 | export { default as defaults } from './Defaults';
|
15 | export { default as descriptions } from './Descriptions';
|
16 | export { constants };
|
17 | declare type ReadConfig = {
|
18 | configPath: Config.Path | null | undefined;
|
19 | globalConfig: Config.GlobalConfig;
|
20 | hasDeprecationWarnings: boolean;
|
21 | projectConfig: Config.ProjectConfig;
|
22 | };
|
23 | export declare function readConfig(argv: Config.Argv, packageRootOrConfig: Config.Path | Config.InitialOptions, skipArgvConfigOption?: boolean, parentConfigDirname?: Config.Path | null, projectIndex?: number, skipMultipleConfigWarning?: boolean): Promise<ReadConfig>;
|
24 | export declare function readConfigs(argv: Config.Argv, projectPaths: Array<Config.Path>): Promise<{
|
25 | globalConfig: Config.GlobalConfig;
|
26 | configs: Array<Config.ProjectConfig>;
|
27 | hasDeprecationWarnings: boolean;
|
28 | }>;
|