Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ getChangeDetectorRefSpy
Function
getChangeDetectorRefSpy
packages/common/test/pipes/async_pipe_spec.ts:27–29 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
25
useAutoTick();
26
27
function
getChangeDetectorRefSpy() {
28
return
jasmine.createSpyObj(
'ChangeDetectorRef'
, [
'markForCheck'
,
'detectChanges'
]);
29
}
30
31
beforeEach(() => {
32
ref = getChangeDetectorRefSpy();
Callers
1
async_pipe_spec.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected