diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-12-05 16:17:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-05 16:17:49 -0500 |
commit | 2fab4583ef3db0a3d8438ffa07f9e64db8190433 (patch) | |
tree | 506d4a6c5dbddda1265bbc632bf0d4014f895ce4 /cli/js/40_testing.js | |
parent | 3863aaf8ae183685759bfdae037c36d05223e06f (diff) |
fix(test): improve how `--fail-fast` shuts down when hitting limit (#16956)
Closes #15650
Diffstat (limited to 'cli/js/40_testing.js')
-rw-r--r-- | cli/js/40_testing.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/js/40_testing.js b/cli/js/40_testing.js index 9896df34b..3818c3647 100644 --- a/cli/js/40_testing.js +++ b/cli/js/40_testing.js @@ -1086,6 +1086,9 @@ } for (const desc of filtered) { + if (ops.op_tests_should_stop()) { + break; + } ops.op_dispatch_test_event({ wait: desc.id }); const earlier = DateNow(); const result = await runTest(desc); |