@@ -17,24 +17,30 @@ void main() {
1717 await context.tearDown ();
1818 });
1919
20- test ('_flutter.listViews' , () async {
21- final serviceMethod = '_flutter.listViews' ;
22- final service = context.debugConnection.vmService;
23- final vm = await service.getVM ();
24- final isolates = vm.isolates! ;
25-
26- final expected = < String , Object > {
27- 'views' : < Object > [
28- for (var isolate in isolates)
29- < String , Object ? > {
30- 'id' : isolate.id,
31- 'isolate' : isolate.toJson (),
32- }
33- ],
34- };
35-
36- final result = await service.callServiceExtension (serviceMethod, args: {});
37-
38- expect (result.json, expected);
39- });
20+ test (
21+ '_flutter.listViews' ,
22+ () async {
23+ final serviceMethod = '_flutter.listViews' ;
24+ final service = context.debugConnection.vmService;
25+ final vm = await service.getVM ();
26+ final isolates = vm.isolates! ;
27+
28+ final expected = < String , Object > {
29+ 'views' : < Object > [
30+ for (var isolate in isolates)
31+ < String , Object ? > {
32+ 'id' : isolate.id,
33+ 'isolate' : isolate.toJson (),
34+ }
35+ ],
36+ };
37+
38+ final result =
39+ await service.callServiceExtension (serviceMethod, args: {});
40+
41+ expect (result.json, expected);
42+ },
43+ // TODO(https://github.com/dart-lang/webdev/issues/1741): Re-enable when resolved.
44+ skip: true ,
45+ );
4046}
0 commit comments