Skip to content

Commit

Permalink
made skipMultipleConfigWarning optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jankaifer committed Oct 6, 2021
1 parent cae826c commit 1de582b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-config/src/resolveConfigPath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const getConfigFilename = (ext: string) => JEST_CONFIG_BASE_NAME + ext;
export default (
pathToResolve: Config.Path,
cwd: Config.Path,
skipMultipleConfigWarning: boolean,
skipMultipleConfigWarning: boolean = false,
): Config.Path => {
if (!path.isAbsolute(cwd)) {
throw new Error(`"cwd" must be an absolute path. cwd: ${cwd}`);
Expand Down

0 comments on commit 1de582b

Please sign in to comment.