File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ void runTests({
411411 var vm = await client.getVM ();
412412 var isolateId = vm.isolates! .first.id! ;
413413 await client.streamListen ('Debug' );
414- final stream = client.onEvent ( 'Debug' ) ;
414+ final stream = client.onDebugEvent ;
415415 final scriptList = await client.getScripts (isolateId);
416416 final main = scriptList.scripts! .firstWhere (
417417 (script) => script.uri! .contains ('main.dart' ),
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ class TestProject {
4949 webAssetsPath,
5050 dartEntryFileName,
5151 ];
52- editable
52+ return editable
5353 ? p.joinAll ([_fixturesCopy.absolute.path, ...entryFilePathInPkg])
5454 : absolutePath (pathFromFixtures: p.joinAll (entryFilePathInPkg));
5555 }
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ void main() {
8383 await client.setFlag ('pause_isolates_on_start' , 'true' );
8484 await client.streamListen (EventStreams .kIsolate);
8585 await client.streamListen (EventStreams .kDebug);
86- stream = client.onEvent ( EventStreams .kDebug) ;
86+ stream = client.onDebugEvent ;
8787 consoleSubscription = context.webkitDebugger.onConsoleAPICalled.listen (
8888 (e) => consoleLogs.add (e.args.first.value as String ),
8989 );
You can’t perform that action at this time.
0 commit comments