@@ -1542,24 +1542,20 @@ void runTests({
1542
1542
expect (first.code! .name, 'printCount' );
1543
1543
});
1544
1544
1545
- test (
1546
- 'stack has a variable' ,
1547
- () async {
1548
- final stack = await breakAt ('callPrintCount' );
1549
- expect (stack, isNotNull);
1550
- expect (stack.frames, hasLength (1 ));
1551
- final first = stack.frames! .first;
1552
- expect (first.kind, 'Regular' );
1553
- expect (first.code! .kind, 'Dart' );
1554
- expect (first.code! .name, '<closure>' );
1555
- // TODO: Make this more precise once this case doesn't
1556
- // also include all the libraries.
1557
- expect (first.vars, hasLength (greaterThanOrEqualTo (1 )));
1558
- final underscore = first.vars! .firstWhere ((v) => v.name == '_' );
1559
- expect (underscore, isNotNull);
1560
- },
1561
- skip: 'https://github.com/dart-lang/webdev/issues/2570' ,
1562
- );
1545
+ test ('stack has a variable' , () async {
1546
+ final stack = await breakAt ('callPrintCount' );
1547
+ expect (stack, isNotNull);
1548
+ expect (stack.frames, hasLength (1 ));
1549
+ final first = stack.frames! .first;
1550
+ expect (first.kind, 'Regular' );
1551
+ expect (first.code! .kind, 'Dart' );
1552
+ expect (first.code! .name, '<closure>' );
1553
+ // TODO: Make this more precise once this case doesn't
1554
+ // also include all the libraries.
1555
+ expect (first.vars, hasLength (greaterThanOrEqualTo (1 )));
1556
+ final underscore = first.vars! .firstWhere ((v) => v.name == 'timer' );
1557
+ expect (underscore, isNotNull);
1558
+ });
1563
1559
1564
1560
test ('collects async frames' , () async {
1565
1561
final stack = await breakAt ('asyncCall' );
0 commit comments