Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ refreshUser
Method
refreshUser
packages/router/test/router_resource_spec.ts:1907–1909 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1905
userResource = inject(ActivatedRoute).resources?.[
'user'
];
1906
1907
refreshUser(): boolean | undefined {
1908
return
this.userResource?.reload();
1909
}
1910
}
1911
1912
const
{harness} =
await
setupRouter([
Callers
1
router_resource_spec.ts
File · 0.80
Calls
1
reload
Method · 0.65
Tested by
no test coverage detected