@nsshunt/stsrunnerframework 1.0.138 → 1.0.140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/stsrunnerframework.mjs +3 -4
- package/dist/stsrunnerframework.mjs.map +1 -1
- package/dist/stsrunnerframework.umd.js +3 -4
- package/dist/stsrunnerframework.umd.js.map +1 -1
- package/package.json +1 -1
- package/types/testing/mockedWorkerTestRunner01.d.ts.map +1 -1
- package/types/testing/testCase02.d.ts +21 -0
- package/types/testing/testCase02.d.ts.map +1 -0
- package/types/testing/wmwokerProcess2.test.d.ts +2 -0
- package/types/testing/wmwokerProcess2.test.d.ts.map +1 -0
- package/types/workerInstance.d.ts.map +1 -1
|
@@ -1822,10 +1822,9 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
1822
1822
|
if (executionProfile) {
|
|
1823
1823
|
const { iterations, duration, delayBetweenIterations, pauseOnComplete } = executionProfile;
|
|
1824
1824
|
if (iterations > 0) {
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
cont = __privateGet(this, _GetRunnerIterationById).call(this, runnerId) < iterations;
|
|
1825
|
+
cont = __privateGet(this, _GetRunnerIterationById).call(this, runnerId) < iterations;
|
|
1826
|
+
if (cont === false && pauseOnComplete === true && __privateGet(this, _runners)[runnerId].runner.state === IRunnerState.paused) {
|
|
1827
|
+
cont = true;
|
|
1829
1828
|
}
|
|
1830
1829
|
} else if (duration > 0) {
|
|
1831
1830
|
cont = ((/* @__PURE__ */ new Date()).getTime() - startLoop.getTime()) / 1e3 < duration;
|