We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 409f2e1 commit a928783Copy full SHA for a928783
test/viewDirectiveSpec.js
@@ -686,15 +686,14 @@ describe('uiView', function () {
686
expect($state.current.name).toBe('n');
687
expect(log).toBe('start:n;success:n;');
688
689
- animateFlush($animate);
+ animateFlush($animate); $q.flush();
690
expect(log).toBe('start:n;success:n;animEnter;');
691
692
- $state.transitionTo('a');
693
- $q.flush();
+ $state.transitionTo('a'); $q.flush();
694
expect($state.current.name).toBe('a');
695
expect(log).toBe('start:n;success:n;animEnter;start:a;success:a;destroy;');
696
697
698
expect(log).toBe('start:n;success:n;animEnter;start:a;success:a;destroy;animLeave;');
699
}));
700
0 commit comments