Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/angular/angular
/ mockProgressEvent
Method
mockProgressEvent
packages/common/http/test/fetch_spec.ts:751–753 ·
view source on GitHub ↗
(loaded: number)
Source
from the content-addressed store, hash-verified
749
}
750
751
mockProgressEvent(loaded: number): void {
752
this.response.progress.push(loaded);
753
}
754
755
mockErrorEvent(error: any) {
756
this.reject(error);
Callers
1
fetch_spec.ts
File · 0.80
Calls
1
push
Method · 0.45
Tested by
no test coverage detected