@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.cjs
CHANGED
|
@@ -586,9 +586,6 @@ var TestCaseFhirBase = class {
|
|
|
586
586
|
get accesssToken() {
|
|
587
587
|
return this.#accesssToken;
|
|
588
588
|
}
|
|
589
|
-
set accesssToken(token) {
|
|
590
|
-
this.#accesssToken = token;
|
|
591
|
-
}
|
|
592
589
|
get runner() {
|
|
593
590
|
return this.#runner;
|
|
594
591
|
}
|
|
@@ -747,7 +744,12 @@ var TestCaseFhirBase = class {
|
|
|
747
744
|
}
|
|
748
745
|
};
|
|
749
746
|
ResetAccessToken = () => {
|
|
747
|
+
console.log(chalk.default.magenta(`************************************************************************* start `));
|
|
748
|
+
console.log(chalk.default.magenta(`Old Token: ${this.#accesssToken}`));
|
|
750
749
|
this.#accesssToken = null;
|
|
750
|
+
console.log(chalk.default.magenta(`New Token: ${this.#accesssToken}`));
|
|
751
|
+
console.log(chalk.default.magenta(`New Token: ${this.GetAccessToken()}`));
|
|
752
|
+
console.log(chalk.default.magenta(`************************************************************************* end `));
|
|
751
753
|
};
|
|
752
754
|
HandleError = (error) => {
|
|
753
755
|
this.Error(chalk.default.red(`TestCaseFhirBase:HandleError(): Error: [${error}]`));
|
|
@@ -1070,7 +1072,7 @@ var TestCaseFhir01 = class extends TestCaseFhirQueryBase {
|
|
|
1070
1072
|
const __snapshot1 = performance.now();
|
|
1071
1073
|
await this.GetAccessToken();
|
|
1072
1074
|
this._CheckOutputLongDurationError(__snapshot1, "await this.GetAccessToken()");
|
|
1073
|
-
this.
|
|
1075
|
+
this.ResetAccessToken();
|
|
1074
1076
|
return null;
|
|
1075
1077
|
};
|
|
1076
1078
|
};
|