Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ resetFetchPromise
Method
resetFetchPromise
packages/common/http/test/fetch_spec.ts:851–856 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
849
}
850
851
resetFetchPromise() {
852
this.promise =
new
Promise<Response>((resolve, reject) => {
853
this.resolve = resolve;
854
this.reject = reject;
855
});
856
}
857
}
858
859
class
MockFetchRequest {
Callers
1
fetch_spec.ts
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected