@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.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,11 @@ 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(`************************************************************************* end `));
|
|
751
752
|
};
|
|
752
753
|
HandleError = (error) => {
|
|
753
754
|
this.Error(chalk.default.red(`TestCaseFhirBase:HandleError(): Error: [${error}]`));
|
|
@@ -1070,7 +1071,7 @@ var TestCaseFhir01 = class extends TestCaseFhirQueryBase {
|
|
|
1070
1071
|
const __snapshot1 = performance.now();
|
|
1071
1072
|
await this.GetAccessToken();
|
|
1072
1073
|
this._CheckOutputLongDurationError(__snapshot1, "await this.GetAccessToken()");
|
|
1073
|
-
this.
|
|
1074
|
+
this.ResetAccessToken();
|
|
1074
1075
|
return null;
|
|
1075
1076
|
};
|
|
1076
1077
|
};
|