MCPcopy Index your code
hub / github.com/angular-ui/ui-router / initial

Function initial

test/viewHookSpec.ts:68–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 });
67
68 const initial = () => {
69 $state.go('foo');
70 $q.flush();
71 $timeout.flush();
72 expect(log).toBe('');
73 expect($state.current.name).toBe('foo');
74 };
75
76 it("can cancel a transition that would exit the view's state by returning false", () => {
77 $state.defaultErrorHandler(function () {});

Callers 1

viewHookSpec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected