fix: address analysis issues - remove unused import, fix deprecated APIs, update test
This commit is contained in:
parent
85249acc84
commit
07bae466cf
32 changed files with 1550 additions and 75 deletions
13
test/widget_test.dart
Normal file
13
test/widget_test.dart
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
import 'package:traccar_client/main.dart';
|
||||
|
||||
void main() {
|
||||
testWidgets('TraccarClientApp smoke test', (WidgetTester tester) async {
|
||||
// Build our app and trigger a frame.
|
||||
await tester.pumpWidget(const TraccarClientApp());
|
||||
|
||||
// Verify the app title is displayed
|
||||
expect(find.text('Traccar Client'), findsOneWidget);
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue