@nsshunt/ststestrunner 1.1.99 → 1.1.100
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,12 @@ 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(`New Token: ${this.GetAccessToken()}`));
|
|
728
|
+
console.log(chalk.magenta(`************************************************************************* end `));
|
|
727
729
|
};
|
|
728
730
|
HandleError = (error) => {
|
|
729
731
|
this.Error(chalk.red(`TestCaseFhirBase:HandleError(): Error: [${error}]`));
|
|
@@ -1046,7 +1048,7 @@ var TestCaseFhir01 = class extends TestCaseFhirQueryBase {
|
|
|
1046
1048
|
const __snapshot1 = performance.now();
|
|
1047
1049
|
await this.GetAccessToken();
|
|
1048
1050
|
this._CheckOutputLongDurationError(__snapshot1, "await this.GetAccessToken()");
|
|
1049
|
-
this.
|
|
1051
|
+
this.ResetAccessToken();
|
|
1050
1052
|
return null;
|
|
1051
1053
|
};
|
|
1052
1054
|
};
|