MCPcopy Create free account
hub / github.com/angular-ui/ui-router / tick

Function tick

test/stateDirectivesSpec.ts:430–435  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

428
429 it('updates a linked ui-sref-active', inject(function ($timeout) {
430 function tick() {
431 scope.$digest();
432 try {
433 $timeout.flush();
434 } catch (error) {}
435 }
436 expect(template[0].className).not.toContain('active');
437 expect(template[0].className).not.toContain('activeeq');
438

Callers 2

resolveSpec.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected