Skip to content

Commit 89ce0b4

Browse files
committed
chore: warn when testSequencer config is passed per project
1 parent a841a74 commit 89ce0b4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/jest-config/src/normalize.ts

+8
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,14 @@ export default async function normalize(
586586
}
587587
}
588588

589+
if (options.testSequencer) {
590+
console.warn(
591+
` Configuration option ${chalk.bold(
592+
'testSequencer',
593+
)} should be a global config, not per-project.`,
594+
);
595+
}
596+
589597
if (!options.coverageDirectory) {
590598
options.coverageDirectory = path.resolve(options.rootDir, 'coverage');
591599
}

0 commit comments

Comments
 (0)