aotrautils-srv 0.0.534 → 0.0.535

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 (05/07/2023-22:31:43)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (05/07/2023-23:11:28)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -488,20 +488,23 @@ window.aotestMethods.getScenariiInTest=function(test){
488
488
  /*public*/window.aotestMethods.iterateOverScenarii=function(allTests, doOnIteration, testsType=null, filter=null, mustTerminate=null){
489
489
 
490
490
  if(testsType){
491
+
492
+ if(testsType==="*"){
493
+ return foreach(allTests,(allTestsByType,t)=>{
494
+ const loopResultH=window.aotestMethods.doForAllTestsByType(allTestsByType,doOnIteration, filter, mustTerminate);
495
+ if(loopResultH)
496
+ return loopResultH;
497
+ });
498
+
499
+ }
491
500
 
492
501
  const allTestsByType=allTests[testsType];
493
502
  return window.aotestMethods.doForAllTestsByType(allTestsByType,doOnIteration, filter, mustTerminate);
503
+ }
494
504
 
495
- }else{
496
-
497
- return foreach(allTests,(allTestsByType,t)=>{
498
- const loopResultH=window.aotestMethods.doForAllTestsByType(allTestsByType,doOnIteration, filter, mustTerminate);
499
- if(loopResultH)
500
- return loopResultH;
501
- });
505
+ const allTestsByType=allTests;
506
+ return window.aotestMethods.doForAllTestsByType(allTestsByType,doOnIteration, filter, mustTerminate);
502
507
 
503
- }
504
-
505
508
  };
506
509
 
507
510
 
@@ -4929,7 +4932,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4929
4932
 
4930
4933
 
4931
4934
 
4932
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (05/07/2023-22:31:43)»*/
4935
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (05/07/2023-23:11:28)»*/
4933
4936
  /*-----------------------------------------------------------------------------*/
4934
4937
 
4935
4938
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.534",
3
+ "version": "0.0.535",
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)",