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:828–833 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
826
}
827
828
resetFetchPromise() {
829
this.promise =
new
Promise<Response>((resolve, reject) => {
830
this.resolve = resolve;
831
this.reject = reject;
832
});
833
}
834
}
835
836
class
MockFetchRequest {
Callers
1
fetch_spec.ts
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected