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({
411
411
var vm = await client.getVM ();
412
412
var isolateId = vm.isolates! .first.id! ;
413
413
await client.streamListen ('Debug' );
414
- final stream = client.onEvent ( 'Debug' ) ;
414
+ final stream = client.onDebugEvent ;
415
415
final scriptList = await client.getScripts (isolateId);
416
416
final main = scriptList.scripts! .firstWhere (
417
417
(script) => script.uri! .contains ('main.dart' ),
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ class TestProject {
49
49
webAssetsPath,
50
50
dartEntryFileName,
51
51
];
52
- editable
52
+ return editable
53
53
? p.joinAll ([_fixturesCopy.absolute.path, ...entryFilePathInPkg])
54
54
: absolutePath (pathFromFixtures: p.joinAll (entryFilePathInPkg));
55
55
}
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ void main() {
83
83
await client.setFlag ('pause_isolates_on_start' , 'true' );
84
84
await client.streamListen (EventStreams .kIsolate);
85
85
await client.streamListen (EventStreams .kDebug);
86
- stream = client.onEvent ( EventStreams .kDebug) ;
86
+ stream = client.onDebugEvent ;
87
87
consoleSubscription = context.webkitDebugger.onConsoleAPICalled.listen (
88
88
(e) => consoleLogs.add (e.args.first.value as String ),
89
89
);
You can’t perform that action at this time.
0 commit comments