- marketing: index.html من 2274 إلى 775 سطراً، والباقي إلى styles/ (tokens·base·components·sections·responsive) و js/ (app·i18n·calculator·analytics) و i18n/ بخمس لغات (ar·en·fr·es·tr) عبر سمة data-i18n. - docs/05 + docs/33 + لوحة السوبر-أدمن: الباقات صارت ثلاثاً (إطلاق · نمو · سيادة) بدل الأربع، وتحديث docs/31 بما يطابقها. - docs/36: توثيق سيرو إكسبرس للتوصيل. - تنظيف استيرادات غير مستعملة في apps/rider و apps/driver. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
25 lines
962 B
Dart
Executable File
25 lines
962 B
Dart
Executable File
// This is a basic Flutter widget test.
|
|
//
|
|
// To perform an interaction with a widget in your test, use the WidgetTester
|
|
// utility in the flutter_test package. For example, you can send tap and scroll
|
|
// gestures. You can also use WidgetTester to find child widgets in the widget
|
|
// tree, read text, and verify that the values of widget properties are correct.
|
|
|
|
import 'package:flutter_test/flutter_test.dart';
|
|
|
|
void main() {
|
|
testWidgets('App smoke test', (WidgetTester tester) async {
|
|
// TODO: To properly test TripzDriverApp, you need to mock dependencies
|
|
// registered in getIt (e.g. AuthRepository, DriverCubit, etc.) or
|
|
// provide a testing configuration for setupDi().
|
|
|
|
// Example:
|
|
// await setupDi(); // Setup test dependencies here
|
|
// await tester.pumpWidget(const TripzDriverApp());
|
|
|
|
// expect(find.byType(TripzDriverApp), findsOneWidget);
|
|
|
|
expect(true, isTrue); // Basic placeholder test to pass
|
|
});
|
|
}
|