MCPcopy
hub / github.com/angular-ui/ui-router / animateFlush

Function animateFlush

test/viewDirectiveSpec.ts:8–14  ·  view source on GitHub ↗
($animate)

Source from the content-addressed store, hash-verified

6const module = angular.mock.module;
7
8function animateFlush($animate) {
9 if ($animate && $animate.flush) {
10 $animate.flush(); // 1.4
11 } else if ($animate && $animate.triggerCallbacks) {
12 $animate.triggerCallbacks(); // 1.2-1.3
13 }
14}
15
16describe('uiView', function () {
17 'use strict';

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected