import 'dart:async'; import 'package:flutter_test/flutter_test.dart'; /// Functional chat tests settle asynchronous state with reduced motion. Tests /// covering animation explicitly opt back in and pump known frame durations. Future testExecutable(FutureOr Function() testMain) async { TestWidgetsFlutterBinding.ensureInitialized() .platformDispatcher .accessibilityFeaturesTestValue = const FakeAccessibilityFeatures( disableAnimations: true, ); await testMain(); }