Leave unrelated chat files as main formats them

This commit is contained in:
2026-11-10 15:26:54 +00:00
parent cdd54c113c
commit e059e58caf
8 changed files with 59 additions and 63 deletions
@@ -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);