@nsshunt/ststestrunner 1.0.24 → 1.0.25
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/dist/ststestrunner.mjs
CHANGED
|
@@ -11962,14 +11962,15 @@ class FhirSocketClient {
|
|
|
11962
11962
|
}
|
|
11963
11963
|
});
|
|
11964
11964
|
__publicField2(this, "WaitForSocketConnected", async () => {
|
|
11965
|
-
|
|
11965
|
+
console.log(chalk.gray(`WaitForSocketConnected(): Waiting for socket connection [Start]`));
|
|
11966
|
+
if (this.socket && this.socket.connected === true) {
|
|
11966
11967
|
return;
|
|
11967
11968
|
}
|
|
11968
11969
|
let connected = false;
|
|
11969
11970
|
while (!connected) {
|
|
11970
11971
|
console.log(chalk.gray(`WaitForSocketConnected(): Waiting for socket connection ...`));
|
|
11971
11972
|
const socketRetVal = this.socket;
|
|
11972
|
-
if (socketRetVal.connected === true) {
|
|
11973
|
+
if (socketRetVal && socketRetVal.connected === true) {
|
|
11973
11974
|
connected = true;
|
|
11974
11975
|
break;
|
|
11975
11976
|
}
|