Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ mockProgressEvent
Method
mockProgressEvent
packages/common/http/test/fetch_spec.ts:999–1001 ·
view source on GitHub ↗
(loaded: number)
Source
from the content-addressed store, hash-verified
997
}
998
999
mockProgressEvent(loaded: number): void {
1000
this.response.progress.push(loaded);
1001
}
1002
1003
mockErrorEvent(error: any) {
1004
this.reject(error);
Callers
1
fetch_spec.ts
File · 0.80
Calls
1
push
Method · 0.45
Tested by
no test coverage detected