Files
archery-bookkeeper/test/widget_test.dart
T
Mikkeli Matlock 78753071d0 Update flutter_lints to 6.0.0 and fix widget tests
- Upgrade flutter_lints from 5.0.0 to 6.0.0
- Fix widget test to reference correct app class (ArcheryBookkeeperApp)
- Update widget test to check for actual app title "Archery Scoring"
- Clean up project description in pubspec.yaml

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-23 00:31:08 +09:00

21 lines
761 B
Dart

// 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:archery_bookkeeper/main.dart';
void main() {
testWidgets('Archery Bookkeeper app loads', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget(const ArcheryBookkeeperApp());
// Verify that the app loads properly
expect(find.text('Archery Scoring'), findsOneWidget);
});
}