Unverified Commit 89d1b9e4 authored by chunhtai's avatar chunhtai Committed by GitHub

Makes PlatformInformationProvider aware of the browser default route … (#88122)

parent 7864e64d
......@@ -286,6 +286,15 @@ void main() {
routerDelegate: delegate,
));
expect(find.text('initial'), findsOneWidget);
expect(log, <Object>[
isMethodCall('selectMultiEntryHistory', arguments: null),
isMethodCall('routeInformationUpdated', arguments: <String, dynamic>{
'location': 'initial',
'state': null,
'replace': false,
}),
]);
log.clear();
// Triggers a router rebuild and verify the route information is reported
// to the web engine.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment