Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit 862f46c

Browse files
committed
fix(mock): Fix unitialized variable in MockWindow.
1 parent 0b0080b commit 862f46c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/mock/mock_window.dart

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ class MockWindow extends Mock implements Window {
1010
final onHashChangeController = new dart_async.StreamController<Event>();
1111
final onClickController = new dart_async.StreamController<MouseEvent>();
1212

13+
var animationFrameCompleter = new dart_async.Completer<num>();
14+
1315
dart_async.Stream<PopStateEvent> get onPopState => onPopStateController.stream;
1416
dart_async.Stream<Event> get onHashChange => onHashChangeController.stream;
1517
dart_async.Stream<Event> get onClick => onClickController.stream;

0 commit comments

Comments
 (0)