Skip to content

Commit 3ca2edd

Browse files
committed
doc: clarify isolation wording in test runner watch mode
Avoid implying that sharing a single process is the reason every test file is rerun with `--test-isolation=none`, and state the two facts separately. The rewording was suggested by an AI code review tool. Signed-off-by: Ethan Resnick <ethan.resnick@gmail.com>
1 parent 9342983 commit 3ca2edd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎doc/api/test.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -679,10 +679,10 @@ their dependencies. When a change is detected, the test runner will
679679
rerun the tests affected by the change.
680680
The test runner will continue to run until the process is terminated.
681681

682-
This is subject to the isolation mode. With `--test-isolation=process` (the
683-
default), only the test files affected by the change are rerun. With
684-
`--test-isolation=none`, every test file in the run is rerun, because those
685-
files share a single process.
682+
This behavior depends on the test isolation mode. With `--test-isolation=process`
683+
(the default), only the test files affected by the change are rerun. With
684+
`--test-isolation=none`, the test runner reruns every test file in the run.
685+
Tests share a single process in this mode.
686686

687687
## Global setup and teardown
688688

0 commit comments

Comments
 (0)