aotrautils-srv 0.0.391 → 0.0.392

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 (11/12/2022-15:10:39)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (11/12/2022-15:27:01)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -452,11 +452,11 @@ window.aotestMethods.getScenariosInTest=function(test){
452
452
  let results={};
453
453
  foreach(test,(s,sKey)=>{
454
454
  results[sKey]=s;
455
- },(s,scenarioName)=>{ return window.aotestMethods.isScenariosName(scenarioName); });
455
+ },(s,scenarioName)=>{ return window.aotestMethods.isScenarioName(scenarioName); });
456
456
  return results;
457
457
  };
458
458
 
459
- window.aotestMethods.isScenariosName=function(scenarioName){
459
+ window.aotestMethods.isScenarioName=function(scenarioName){
460
460
  return contains(scenarioName,"_scenario");
461
461
  };
462
462
 
@@ -1191,7 +1191,7 @@ aotest.run=function(testName=null,scenarioName=null){
1191
1191
  // // DBG
1192
1192
  // console.log("chosenTestParam",chosenTestParam);
1193
1193
 
1194
- foreach(scenariiListLocal, (scenario,scenarioNameLocal)=>{
1194
+ foreach(aotestMethods.getScenariosInTest(scenariiListLocal), (scenario,scenarioNameLocal)=>{
1195
1195
 
1196
1196
  // DBG
1197
1197
  console.log("WE RUN ONE SCENARIO !!!");
@@ -1210,7 +1210,7 @@ aotest.run=function(testName=null,scenarioName=null){
1210
1210
  testResultObjLocal.children[scenarioNameLocal]=scenarioResultObjLocal;
1211
1211
 
1212
1212
 
1213
- },(s,sName)=>{ return window.aotestMethods.isScenariosName(sName); });
1213
+ });
1214
1214
 
1215
1215
  if(chosenTestParam.clean){
1216
1216
  // TRACE
@@ -4850,7 +4850,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4850
4850
 
4851
4851
 
4852
4852
 
4853
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (11/12/2022-15:10:39)»*/
4853
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (11/12/2022-15:27:01)»*/
4854
4854
  /*-----------------------------------------------------------------------------*/
4855
4855
 
4856
4856
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.391",
3
+ "version": "0.0.392",
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)",