Skip to content

Commit

Permalink
Update types for FullJestConfig to be in sync with types in Jest
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnpnl committed Mar 4, 2018
1 parent 14f5949 commit c394dcc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/jest-types.ts
Expand Up @@ -39,6 +39,10 @@ export interface FullJestConfig {
cacheDirectory: Path;
clearMocks: boolean;
coveragePathIgnorePatterns: string[];
cwd: Path;
detectLeaks: boolean;
displayName: string;
forceCoverageMatch: Glob[];
globals: ConfigGlobals;
haste: HasteConfig;
moduleDirectories: string[];
Expand All @@ -51,12 +55,17 @@ export interface FullJestConfig {
resetMocks: boolean;
resetModules: boolean;
resolver: Path | null;
restoreMocks: boolean;
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;
Expand All @@ -65,6 +74,7 @@ export interface FullJestConfig {
timers: 'real' | 'fake';
transform: Array<[string, Path]>;
transformIgnorePatterns: Glob[];
watchPathIgnorePatterns: string[];
unmockedModulePathPatterns: string[] | null;
}

Expand Down

0 comments on commit c394dcc

Please sign in to comment.