diff --git a/types/jest/index.d.ts b/types/jest/index.d.ts index 101c6b04a4..090b87d0b5 100644 --- a/types/jest/index.d.ts +++ b/types/jest/index.d.ts @@ -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 // Ivo Stratev @@ -9,6 +9,7 @@ // Ika // Waseem Dahman // Jamie Mason +// Douglas Duteil // 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; + forceCoverageMatch: Glob[]; globals: ConfigGlobals; haste: HasteConfig; moduleDirectories: string[]; @@ -829,11 +834,14 @@ declare namespace jest { resolver: Maybe; 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; + watchPathIgnorePatterns: string[]; } // Console