Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow projects in TypeScript Config to be an array of ProjectConfig #11285

Merged
merged 13 commits into from Apr 12, 2021
4 changes: 2 additions & 2 deletions packages/jest-types/src/Config.ts
Expand Up @@ -330,7 +330,7 @@ export type ProjectConfig = {
dependencyExtractor?: string;
detectLeaks: boolean;
detectOpenHandles: boolean;
displayName?: DisplayName;
displayName?: DisplayName | string;
TranquilMarmot marked this conversation as resolved.
Show resolved Hide resolved
errorOnDeprecated: boolean;
extensionsToTreatAsEsm: Array<Path>;
extraGlobals: Array<keyof NodeJS.Global>;
Expand Down Expand Up @@ -428,7 +428,7 @@ export type Argv = Arguments<
onlyFailures: boolean;
outputFile: string;
preset: string | null | undefined;
projects: Array<string>;
projects: Array<string> | Array<Partial<ProjectConfig>>;
TranquilMarmot marked this conversation as resolved.
Show resolved Hide resolved
TranquilMarmot marked this conversation as resolved.
Show resolved Hide resolved
prettierPath: string | null | undefined;
resetMocks: boolean;
resetModules: boolean;
Expand Down