Index: packages/web_components/test/location_wrapper_test.dart |
diff --git a/packages/web_components/test/location_wrapper_test.dart b/packages/web_components/test/location_wrapper_test.dart |
index a1c531ad50b6d1fa0737f10aa73ee0533142899d..6120d030def6207c91a6bf5a52120fcb946252f5 100644 |
--- a/packages/web_components/test/location_wrapper_test.dart |
+++ b/packages/web_components/test/location_wrapper_test.dart |
@@ -2,15 +2,13 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+@TestOn('browser') |
library template_wrappers_test; |
import 'dart:html'; |
-import 'package:unittest/html_config.dart'; |
-import 'package:unittest/unittest.dart'; |
+import 'package:test/test.dart'; |
main() { |
- useHtmlConfiguration(); |
- |
test('OK to access location with platform.js', () { |
expect(window.location.toString(), window.location.href); |
}); |