Leave unrelated chat files as main formats them
This commit is contained in:
@@ -82,10 +82,7 @@ Future<void> _openMenu(WidgetTester tester, String session) async {
|
||||
|
||||
MenuItemButton _item(WidgetTester tester, String label) =>
|
||||
tester.widget<MenuItemButton>(
|
||||
find.ancestor(
|
||||
of: find.text(label),
|
||||
matching: find.byType(MenuItemButton),
|
||||
),
|
||||
find.ancestor(of: find.text(label), matching: find.byType(MenuItemButton)),
|
||||
);
|
||||
|
||||
ChatWorkspaceController _controller(WidgetTester tester) =>
|
||||
@@ -208,9 +205,7 @@ void main() {
|
||||
final gateway = _Gateway()..history = (_) async => chatPage([]);
|
||||
addTearDown(gateway.close);
|
||||
await tester.pumpWidget(
|
||||
MaterialApp(
|
||||
home: Scaffold(body: ChatScreen(gateway: gateway)),
|
||||
),
|
||||
MaterialApp(home: Scaffold(body: ChatScreen(gateway: gateway))),
|
||||
);
|
||||
await tester.pumpAndSettle();
|
||||
await tester.tap(find.text('Chat a').first);
|
||||
|
||||
Reference in New Issue
Block a user