Make bots green.
TBR=jmesserly@google.com
Review URL: https://codereview.chromium.org//322023003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/web_components@37148 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/test/interop2_test.dart b/test/interop2_test.dart
index e318b9c..e84e8ce 100644
--- a/test/interop2_test.dart
+++ b/test/interop2_test.dart
@@ -14,6 +14,7 @@
import 'package:unittest/html_config.dart';
import 'package:unittest/unittest.dart';
import 'package:web_components/interop.dart';
+import 'package:web_components/polyfill.dart';
main() {
useHtmlConfiguration();
@@ -21,6 +22,8 @@
registerDartType('x-b', XBWrapper, extendsTag: 'div');
registerDartType('x-c', XCWrapper);
+ setUp(() => customElementsReady);
+
test('interop is supported', () {
expect(isSupported, isTrue);
});
diff --git a/test/interop_test.dart b/test/interop_test.dart
index 89b2971..c78a8ab 100644
--- a/test/interop_test.dart
+++ b/test/interop_test.dart
@@ -10,6 +10,7 @@
import 'package:unittest/html_config.dart';
import 'package:unittest/unittest.dart';
import 'package:web_components/interop.dart';
+import 'package:web_components/polyfill.dart';
main() {
useHtmlConfiguration();
@@ -17,6 +18,8 @@
registerDartType('x-b', XBWrapper, extendsTag: 'div');
registerDartType('x-c', XCWrapper);
+ setUp(() => customElementsReady);
+
test('interop is supported', () {
expect(isSupported, isTrue);
});