@nsshunt/ststestrunner 1.1.167 → 1.1.169

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.
@@ -1515,7 +1515,6 @@ var TestCaseFhir02 = class extends TestCaseFhirQueryBase {
1515
1515
  this.bundleBatch.entry = [];
1516
1516
  this.personRecords = [];
1517
1517
  }
1518
- await (0, _nsshunt_stsutils.Sleep)(500);
1519
1518
  return personRecord;
1520
1519
  };
1521
1520
  };
@@ -2360,11 +2359,11 @@ var TestCaseFhir08 = class extends TestCaseFhirQueryBase {
2360
2359
  } else throw error;
2361
2360
  } else throw error;
2362
2361
  }
2363
- } else {
2364
- console.log(resource);
2365
- console.log(retVal.status);
2366
- await (0, _nsshunt_stsutils.Sleep)(1e3);
2367
- return null;
2362
+ } else if (retVal.status === 404) return null;
2363
+ else {
2364
+ const message = `Unknown return value for delete, retVal.status: [${retVal.status}], resource: [${JSON.stringify(resource)}]`;
2365
+ console.error(message);
2366
+ throw new Error(message);
2368
2367
  }
2369
2368
  };
2370
2369
  };