78753071d0
- 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>
21 lines
761 B
Dart
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);
|
|
});
|
|
}
|