Skip to content

Commit 3db0a5d

Browse files
vicbdsalsbury
authored andcommitted
test(css_animate): fix analyzer warning
Remove un-needed code that caused an analyzer warning. Closes dart-archive#1287
1 parent cb92fbb commit 3db0a5d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/animate/css_animate_spec.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,19 +92,17 @@ _run({bool animationsAllowed}) {
9292
it('should prevent child animations', async(() {
9393
_.compile('<div></div>');
9494
animate.addClass(_.rootElement, 'test');
95-
runner.start();
9695
if (animationsAllowed) {
9796
expect(_.rootElement).toHaveClass('test-add');
9897
}
9998
var spans = es('<span>A</span><span>B</span>');
10099
animate.insert(spans, _.rootElement);
101-
runner.start();
102100
expect(spans.first).not.toHaveClass('ng-add');
103101
}));
104102
});
105103
}
106104

107-
class MockAnimationLoop extends Mock implements AnimationLoop {
105+
class MockAnimationLoop implements AnimationLoop {
108106
bool animationsAllowed;
109107
num time = 0.0;
110108

0 commit comments

Comments
 (0)