Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/angular/angular
/ mockTimeoutEvent
Method
mockTimeoutEvent
packages/common/http/test/xhr_mock.ts:137–141 ·
view source on GitHub ↗
(error: any)
Source
from the content-addressed store, hash-verified
135
}
136
137
mockTimeoutEvent(error: any): void {
138
if
(this.listeners.timeout) {
139
this.listeners.timeout(error);
140
}
141
}
142
143
mockAbortEvent(): void {
144
if
(this.listeners.abort) {
Callers
nothing calls this directly
Calls
1
timeout
Method · 0.45
Tested by
no test coverage detected