Skip to content

Commit

Permalink
Merge pull request #459 from AhnpGit/fix/sync-types-with-jest
Browse files Browse the repository at this point in the history
Update types for FullJestConfig to be in sync with types in Jest
  • Loading branch information
kulshekhar committed Mar 4, 2018
2 parents 14f5949 + 8fc8215 commit 4a07d52
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion 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 | null;
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;
setupTestFrameworkScriptFile: Path | null;
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 4a07d52

Please sign in to comment.