Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ emptyState
Function
emptyState
packages/router/test/create_router_state.spec.ts:36–36 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
34
});
35
36
const
emptyState = () => createEmptyState(RootComponent, TestBed.inject(EnvironmentInjector));
37
38
it(
'should create new state'
,
async
() => {
39
const
{state, newlyCreatedRoutes} = createRouterState(
Callers
1
create_router_state.spec.ts
File · 0.85
Calls
2
createEmptyState
Function · 0.90
inject
Method · 0.65
Tested by
no test coverage detected