// 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'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:frontend/main.dart' show BaronSSOApp; void main() { testWidgets('BaronSSOApp builds', (WidgetTester tester) async { // runApp에서 ProviderScope로 감싸서 쓰고 있으니 테스트도 동일하게 감쌈 await tester.pumpWidget(const ProviderScope(child: BaronSSOApp())); await tester.pump(); // 한 프레임 더 }); }