From 494e81f436aa63180f596b9af95d1d09be78359e Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Thu, 24 Nov 2022 12:48:40 -0800 Subject: [PATCH] Document that stopOnSpecFailure is best-effort in parallel mode --- lib/jasmine-core/jasmine.js | 4 ++++ src/core/Env.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index 54508b2f..1486c90b 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -1217,6 +1217,10 @@ getJasmineRequireObj().Env = function(j$) { seed: null, /** * Whether to stop execution of the suite after the first spec failure + * + *

In parallel mode, `stopOnSpecFailure` works on a "best effort" + * basis. Jasmine will stop execution as soon as practical after a failure + * but it might not be immediate.

* @name Configuration#stopOnSpecFailure * @since 3.9.0 * @type Boolean diff --git a/src/core/Env.js b/src/core/Env.js index a2dd481d..67e680b1 100644 --- a/src/core/Env.js +++ b/src/core/Env.js @@ -75,6 +75,10 @@ getJasmineRequireObj().Env = function(j$) { seed: null, /** * Whether to stop execution of the suite after the first spec failure + * + *

In parallel mode, `stopOnSpecFailure` works on a "best effort" + * basis. Jasmine will stop execution as soon as practical after a failure + * but it might not be immediate.

* @name Configuration#stopOnSpecFailure * @since 3.9.0 * @type Boolean