This commit is contained in:
macbook_max
2026-10-15 20:36:59 +08:00
commit 6bf949949c
7923 changed files with 1369582 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
// 基础冒烟测试:App 能正常构建出「短视频」标题
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:video_app/main.dart';
void main() {
testWidgets('App 启动冒烟测试', (tester) async {
await tester.pumpWidget(const ProviderScope(child: VideoApp()));
await tester.pump();
expect(find.text('短视频'), findsOneWidget);
});
}