pumpRouter function
Pumps a MaterialApp.router driven by router and waits for the first
page to settle.
Implementation
Future<void> pumpRouter(WidgetTester tester, GoRouter router) async {
await tester.pumpWidget(MaterialApp.router(routerConfig: router));
await tester.pumpAndSettle();
}