File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ void main() {
93
93
TestZulipBinding .ensureInitialized ();
94
94
95
95
Future <void > prepareContentBare (WidgetTester tester, String html, {
96
+ List <NavigatorObserver > navObservers = const [],
96
97
bool wrapWithPerAccountStoreWidget = false ,
97
98
}) async {
98
99
Widget widget = BlockContentList (nodes: parseContent (html).nodes);
@@ -111,6 +112,7 @@ void main() {
111
112
theme: ThemeData (typography: zulipTypography (context)),
112
113
localizationsDelegates: ZulipLocalizations .localizationsDelegates,
113
114
supportedLocales: ZulipLocalizations .supportedLocales,
115
+ navigatorObservers: navObservers,
114
116
home: widget)));
115
117
await tester.pump (); // global store
116
118
if (wrapWithPerAccountStoreWidget) {
You can’t perform that action at this time.
0 commit comments