@nsshunt/ststestrunner 1.1.99 → 1.1.101
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
|
@@ -562,9 +562,6 @@ var TestCaseFhirBase = class {
|
|
|
562
562
|
get accesssToken() {
|
|
563
563
|
return this.#accesssToken;
|
|
564
564
|
}
|
|
565
|
-
set accesssToken(token) {
|
|
566
|
-
this.#accesssToken = token;
|
|
567
|
-
}
|
|
568
565
|
get runner() {
|
|
569
566
|
return this.#runner;
|
|
570
567
|
}
|
|
@@ -723,7 +720,11 @@ var TestCaseFhirBase = class {
|
|
|
723
720
|
}
|
|
724
721
|
};
|
|
725
722
|
ResetAccessToken = () => {
|
|
723
|
+
console.log(chalk.magenta(`************************************************************************* start `));
|
|
724
|
+
console.log(chalk.magenta(`Old Token: ${this.#accesssToken}`));
|
|
726
725
|
this.#accesssToken = null;
|
|
726
|
+
console.log(chalk.magenta(`New Token: ${this.#accesssToken}`));
|
|
727
|
+
console.log(chalk.magenta(`************************************************************************* end `));
|
|
727
728
|
};
|
|
728
729
|
HandleError = (error) => {
|
|
729
730
|
this.Error(chalk.red(`TestCaseFhirBase:HandleError(): Error: [${error}]`));
|
|
@@ -1046,7 +1047,7 @@ var TestCaseFhir01 = class extends TestCaseFhirQueryBase {
|
|
|
1046
1047
|
const __snapshot1 = performance.now();
|
|
1047
1048
|
await this.GetAccessToken();
|
|
1048
1049
|
this._CheckOutputLongDurationError(__snapshot1, "await this.GetAccessToken()");
|
|
1049
|
-
this.
|
|
1050
|
+
this.ResetAccessToken();
|
|
1050
1051
|
return null;
|
|
1051
1052
|
};
|
|
1052
1053
|
};
|