We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8f6822 commit 83d2060Copy full SHA for 83d2060
test/widgets/content_test.dart
@@ -117,6 +117,8 @@ void main() {
117
widget = GlobalStoreWidget(child: widget);
118
addTearDown(testBinding.reset);
119
120
+ prepareBoringImageHttpClient();
121
+
122
final pushedRoutes = <Route<dynamic>>[];
123
final testNavObserver = TestNavigatorObserver()
124
..onPushed = (route, prevRoute) => pushedRoutes.add(route);
@@ -134,6 +136,8 @@ void main() {
134
136
await tester.pump();
135
137
}
138
139
+ debugNetworkImageHttpClientProvider = null;
140
141
// `tester.pumpWidget` introduces an initial route;
142
// remove it so consumers only have newly pushed routes.
143
assert(pushedRoutes.length == 1);
0 commit comments