Index: lib/src/runner/browser/iframe_listener.dart |
diff --git a/lib/src/runner/browser/iframe_listener.dart b/lib/src/runner/browser/iframe_listener.dart |
index 6f5b321353f7cc66ab405c4c1b2486d4da396977..9e49dfca4930456279920dd682bb7e17c5ff96b4 100644 |
--- a/lib/src/runner/browser/iframe_listener.dart |
+++ b/lib/src/runner/browser/iframe_listener.dart |
@@ -6,6 +6,8 @@ import 'dart:async'; |
import 'dart:convert'; |
import 'dart:html' hide Metadata; |
+import 'package:stream_channel/stream_channel.dart'; |
+ |
import '../../backend/declarer.dart'; |
import '../../backend/group.dart'; |
import '../../backend/live_test.dart'; |
@@ -13,7 +15,6 @@ import '../../backend/metadata.dart'; |
import '../../backend/suite.dart'; |
import '../../backend/test.dart'; |
import '../../backend/test_platform.dart'; |
-import '../../util/multi_channel.dart'; |
import '../../util/remote_exception.dart'; |
import '../../utils.dart'; |
@@ -114,7 +115,8 @@ class IframeListener { |
}, window.location.origin); |
}); |
- return new MultiChannel(inputController.stream, outputController.sink); |
+ return new MultiChannel(new StreamChannel( |
+ inputController.stream, outputController.sink)); |
} |
/// Sends a message over [channel] indicating that the tests failed to load. |