Merge pull request #22480 from douglasduteil/patch-1

jest: update ProjectConfig to jest@22.0
This commit is contained in:
Paul van Brenk
2017-12-28 15:40:52 -08:00
committed by GitHub

11
types/jest/index.d.ts vendored
View File

@@ -1,4 +1,4 @@
// Type definitions for Jest 21.1
// Type definitions for Jest 22.0
// Project: http://facebook.github.io/jest/
// Definitions by: Asana <https://asana.com>
// Ivo Stratev <https://github.com/NoHomey>
@@ -9,6 +9,7 @@
// Ika <https://github.com/ikatyang>
// Waseem Dahman <https://github.com/wsmd>
// Jamie Mason <https://github.com/JamieMason>
// Douglas Duteil <https://github.com/douglasduteil>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
@@ -815,6 +816,10 @@ declare namespace jest {
cacheDirectory: Path;
clearMocks: boolean;
coveragePathIgnorePatterns: string[];
cwd: Path;
detectLeaks: boolean;
displayName: Maybe<string>;
forceCoverageMatch: Glob[];
globals: ConfigGlobals;
haste: HasteConfig;
moduleDirectories: string[];
@@ -829,11 +834,14 @@ declare namespace jest {
resolver: Maybe<Path>;
rootDir: Path;
roots: Path[];
runner: string;
setupFiles: Path[];
setupTestFrameworkScriptFile: Path;
skipNodeResolution: boolean;
snapshotSerializers: Path[];
testEnvironment: string;
testEnvironmentOptions: object;
testLocationInResults: boolean;
testMatch: Glob[];
testPathIgnorePatterns: string[];
testRegex: string;
@@ -843,6 +851,7 @@ declare namespace jest {
transform: Array<[string, Path]>;
transformIgnorePatterns: Glob[];
unmockedModulePathPatterns: Maybe<string[]>;
watchPathIgnorePatterns: string[];
}
// Console