Skip to content

Commit

Permalink
Use pumpAndSettle
Browse files Browse the repository at this point in the history
  • Loading branch information
robiness committed Nov 11, 2024
1 parent 5189333 commit 99192c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/util/load_app_fonts/virtual/app_font/test/test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ void main() {
),
),
);
await takeScreenshot();
await tester.pumpAndSettle();
await expectLater(
find.byType(MaterialApp),
matchesGoldenFile('golden.png'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ void main() {
home: FontTestWidget(),
),
);
await takeScreenshot();
await tester.pumpAndSettle();
await expectLater(
find.byType(MaterialApp),
matchesGoldenFile('golden.png'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ void main() {
),
),
);
await takeScreenshot();
await tester.pumpAndSettle();
await expectLater(
find.byType(MaterialApp),
matchesGoldenFile('golden.png'),
Expand Down

0 comments on commit 99192c9

Please sign in to comment.