retab auto-verifier.ts and auto-verifier.test.ts
This commit is contained in:
parent
4d41dd0087
commit
1e764419fb
File diff suppressed because it is too large
Load Diff
@ -202,7 +202,7 @@ export class AutoVerifier<T> {
|
||||
/* istanbul ignore next */
|
||||
if (debug) LOG.debug(fetchId + ": created trusted promise, set to 'fetching'");
|
||||
this.trustedStatus = 'fetching';
|
||||
// TODO: The solution may be to merge the ensureTrustedFuncReady into the trustedPromise
|
||||
// TODO: The solution may be to merge the ensureTrustedFuncReady into the trustedPromise
|
||||
this.trustedPromise = this.trustedFunc();
|
||||
}
|
||||
|
||||
@ -270,7 +270,7 @@ export class AutoVerifier<T> {
|
||||
new Error(),
|
||||
);
|
||||
if (this.trustedPromise === null) {
|
||||
/* istanbul ignore next */
|
||||
/* istanbul ignore next */
|
||||
if (debug) LOG.debug(fetchId + ': re-fetching since trustedPromise was null');
|
||||
this.trustedStatus = 'fetching';
|
||||
this.trustedPromise = this.trustedFunc();
|
||||
|
Loading…
Reference in New Issue
Block a user