diff --git a/pkgs/test/CHANGELOG.md b/pkgs/test/CHANGELOG.md index 61a65f54b..8940bd9b5 100644 --- a/pkgs/test/CHANGELOG.md +++ b/pkgs/test/CHANGELOG.md @@ -1,3 +1,5 @@ +## 1.25.1-wip + ## 1.25.0 * Handle paths with leading `/` when spawning test isolates. diff --git a/pkgs/test/lib/src/runner/browser/compilers/dart2js.dart b/pkgs/test/lib/src/runner/browser/compilers/dart2js.dart index 4cf4052fd..5aa086149 100644 --- a/pkgs/test/lib/src/runner/browser/compilers/dart2js.dart +++ b/pkgs/test/lib/src/runner/browser/compilers/dart2js.dart @@ -142,10 +142,12 @@ class Dart2JsSupport implements CompilerSupport { var bootstrapContent = ''' ${suiteConfig.metadata.languageVersionComment ?? await rootPackageLanguageVersionComment} import 'package:test/src/bootstrap/browser.dart'; + import 'package:test/src/runner/browser/dom.dart' as dom; import '${await absoluteUri(dartPath)}' as test; void main() { + dom.window.console.log('Startup for test path $dartPath'); internalBootstrapBrowserTest(() => test.main); } '''; diff --git a/pkgs/test/pubspec.yaml b/pkgs/test/pubspec.yaml index 535095d5b..0a95dfaaf 100644 --- a/pkgs/test/pubspec.yaml +++ b/pkgs/test/pubspec.yaml @@ -1,5 +1,5 @@ name: test -version: 1.25.0 +version: 1.25.1-wip description: >- A full featured library for writing and running Dart tests across platforms. repository: https://github.com/dart-lang/test/tree/master/pkgs/test diff --git a/pkgs/test/tool/host.dart b/pkgs/test/tool/host.dart index 582f651b3..0d320d331 100644 --- a/pkgs/test/tool/host.dart +++ b/pkgs/test/tool/host.dart @@ -246,6 +246,7 @@ StreamChannel _connectToIframe(String url, int id) { iframe.src = url; dom.document.body!.appendChild(iframe); + dom.window.console.log('Appended iframe with src $url'); return controller.foreign; }