Index: tests/isolate/src/APIv2_unresolvedPortsBrowserNegativeTest.dart |
diff --git a/tests/isolate/src/APIv2_unresolvedPortsBrowserNegativeTest.dart b/tests/isolate/src/APIv2_unresolvedPortsBrowserNegativeTest.dart |
index 11bdddf1aae1cc5d0f361c7f90e19825dab40bf0..f4ac24d239f9ea48a467935cb993fe458d2c5ab7 100644 |
--- a/tests/isolate/src/APIv2_unresolvedPortsBrowserNegativeTest.dart |
+++ b/tests/isolate/src/APIv2_unresolvedPortsBrowserNegativeTest.dart |
@@ -6,7 +6,8 @@ |
#library('unresolved_ports'); |
#import('dart:dom'); // import added so test.dart can treat this as a webtest. |
#import('dart:isolate'); |
-#import('../../../lib/unittest/unittest_dom.dart'); |
+#import('../../../lib/unittest/unittest.dart'); |
+#import('../../../lib/unittest/dom_config.dart'); |
// This is similar to APIv2_unresolvedPortsStandaloneNegativeTest but using |
// 'unittest.dart' so it can run to completion in browsers. |
@@ -28,6 +29,7 @@ bobIsolate() { |
} |
main() { |
+ useDomConfiguration(); |
asyncTest('Message chain with unresolved ports', 1, () { |
ReceivePort port = new ReceivePort(); |
port.receive((msg, _) { |