datagrok-tools 4.14.61 → 4.14.62
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/bin/utils/test-utils.js +5 -1
- package/package.json +1 -1
package/bin/utils/test-utils.js
CHANGED
|
@@ -397,7 +397,9 @@ async function runTests(testsParams, stopOnFail) {
|
|
|
397
397
|
countFailed += 1;
|
|
398
398
|
failed = true;
|
|
399
399
|
}
|
|
400
|
-
if (success !== true && skipped !== true && stopOnFail)
|
|
400
|
+
if (success !== true && skipped !== true && stopOnFail) {
|
|
401
|
+
break;
|
|
402
|
+
}
|
|
401
403
|
}
|
|
402
404
|
if (window.DG.Test.isInDebug) {
|
|
403
405
|
console.log('on browser closing debug point');
|
|
@@ -418,8 +420,10 @@ async function runTests(testsParams, stopOnFail) {
|
|
|
418
420
|
}
|
|
419
421
|
} catch (e) {
|
|
420
422
|
failed = true;
|
|
423
|
+
console.log(`DEBUG: runTests: IN CATCH: ERROR: ${e}`);
|
|
421
424
|
error = lastTest ? `category: ${lastTest.params.category}, name: ${lastTest.params.test}, error: ${e}, ${await window.DG.Logger.translateStackTrace(e.stack)}` : `test: null, error: ${e}, ${await window.DG.Logger.translateStackTrace(e.stack)}`;
|
|
422
425
|
}
|
|
426
|
+
console.log(`DEBUG: runTests: BEFORE RETURN: RES: ${res.length}, FAILED: ${failed}, ERROR: ${error}`);
|
|
423
427
|
return {
|
|
424
428
|
failed: failed,
|
|
425
429
|
verbosePassed: verbosePassed,
|
package/package.json
CHANGED