feat: describing --failDependentTests option

This commit is contained in:
JacksonLei123 2024-12-18 21:22:25 -05:00
parent ad28bcba36
commit 36d77c2b8a
2 changed files with 2 additions and 2 deletions

View file

@ -376,7 +376,7 @@ const testOptions: [string, string][] = [
['--pass-with-no-tests', `Makes test run succeed even if no tests were found`],
['--project <project-name...>', `Only run tests from the specified list of projects, supports '*' wildcard (default: run all projects)`],
['--quiet', `Suppress stdio`],
['--failDependentTests', `fail all `],
['--failDependentTests', `Automatically fail all project tests if project dependencies fail`],
['--repeat-each <N>', `Run each test N times (default: 1)`],
['--reporter <reporter>', `Reporter to use, comma-separated, can be ${builtInReporters.map(name => `"${name}"`).join(', ')} (default: "${defaultReporter}")`],
['--retries <retries>', `Maximum retry count for flaky tests, zero for no retries (default: no retries)`],

View file

@ -1333,7 +1333,7 @@ interface TestConfig<TestArgs = {}, WorkerArgs = {}> {
quiet?: boolean;
/**
* Whether to automatically fail dependency tests after parent test fails
* Whether to automatically fail all project tests if one of its dependencies fail
*
* **Usage**
*