aotrautils-srv 0.0.1595 → 0.0.1596
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.
@@ -1,6 +1,6 @@
|
|
1
1
|
|
2
2
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (13/05/2025-00:24:39)»*/
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
5
5
|
|
6
6
|
|
@@ -480,18 +480,14 @@ window.aotestMethods.getNumberOfScenariiInGlobal=function(allTestsBagForClientRe
|
|
480
480
|
return currentScenariiNumber;
|
481
481
|
}
|
482
482
|
window.aotestMethods.iterateOverScenarii=function(allTests, doOnIteration, testsType=null, filterFunction=null, mustTerminateFunction=null){
|
483
|
-
if(testsType){
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
});
|
490
|
-
}
|
491
|
-
const allTestsByType=allTests[testsType];
|
492
|
-
return window.aotestMethods.doForAllTestsByType(allTestsByType, doOnIteration, filterFunction, mustTerminateFunction);
|
483
|
+
if(!testsType || testsType==="*"){
|
484
|
+
return foreach(allTests,(allTestsByType,t)=>{
|
485
|
+
const loopResult=window.aotestMethods.doForAllTestsByType(allTestsByType, doOnIteration, filterFunction, mustTerminateFunction);
|
486
|
+
if(loopResult)
|
487
|
+
return loopResult;
|
488
|
+
});
|
493
489
|
}
|
494
|
-
const allTestsByType=allTests;
|
490
|
+
const allTestsByType=allTests[testsType];
|
495
491
|
return window.aotestMethods.doForAllTestsByType(allTestsByType, doOnIteration, filterFunction, mustTerminateFunction);
|
496
492
|
};
|
497
493
|
|
@@ -583,7 +579,6 @@ window.aotestMethods.iterateOverScenariiInSingleTest=function(test, doOnEachIter
|
|
583
579
|
scenario[itemNameOrIndex]=doOnIterationForValue(item, itemNameOrIndex, valuePath);
|
584
580
|
}
|
585
581
|
}
|
586
|
-
|
587
582
|
});
|
588
583
|
|
589
584
|
};
|
@@ -4926,7 +4921,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
4926
4921
|
|
4927
4922
|
|
4928
4923
|
|
4929
|
-
/*utils AI library associated with aotra version : «1_29072022-2359 (
|
4924
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (13/05/2025-00:24:39)»*/
|
4930
4925
|
/*-----------------------------------------------------------------------------*/
|
4931
4926
|
|
4932
4927
|
|
@@ -5072,7 +5067,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
|
|
5072
5067
|
|
5073
5068
|
|
5074
5069
|
|
5075
|
-
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (
|
5070
|
+
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (13/05/2025-00:24:39)»*/
|
5076
5071
|
/*-----------------------------------------------------------------------------*/
|
5077
5072
|
|
5078
5073
|
|
aotrautils-srv/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "aotrautils-srv",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.1596",
|
4
4
|
"main": "aotrautils-srv.build.js",
|
5
5
|
"description": "A library for vanilla javascript utils (server-side) used in aotra javascript CMS",
|
6
6
|
"author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",
|