Index: tests/html/custom/template_wrappers_test.dart |
diff --git a/tests/html/custom/template_wrappers_test.dart b/tests/html/custom/template_wrappers_test.dart |
index c52ad7b0b64ca3ba3c2a9551f6f828b73fc895a2..4953d333fdaa78e1f274649d07b613b744e09ad2 100644 |
--- a/tests/html/custom/template_wrappers_test.dart |
+++ b/tests/html/custom/template_wrappers_test.dart |
@@ -22,17 +22,10 @@ class CustomElement extends HtmlElement { |
} |
} |
-// Pump custom events polyfill events. |
-void customElementsTakeRecords() { |
- if (js.context != null && js.context.hasProperty('CustomElements')) { |
- js.context['CustomElements'].callMethod('takeRecords'); |
- } |
-} |
- |
main() { |
useHtmlConfiguration(); |
- setUp(loadPolyfills); |
+ setUp(customElementsReady); |
test('element is upgraded once', () { |