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:838–843 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
836
}
837
838
resetFetchPromise() {
839
this.promise =
new
Promise<Response>((resolve, reject) => {
840
this.resolve = resolve;
841
this.reject = reject;
842
});
843
}
844
}
845
846
class
MockFetchRequest {
Callers
1
fetch_spec.ts
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected