Skip to content

Commit

Permalink
Ran linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Person8790 committed Oct 5, 2024
1 parent 64742ea commit 35d9b1b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion flutter_app/test/widget/return_to_launch_widget_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'package:dart_mavlink/dialects/common.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:imacs/modules/mavlink_communication.dart';
Expand All @@ -21,7 +20,13 @@ void main() {
home: Scaffold(
body: ReturnToLaunchButton(returnToLaunchCommand: command))));

// Waits for all frames and animations to settle
await tester.pumpAndSettle();

expect(find.byType(ElevatedButton), findsOneWidget);
expect(find.text("Return To Launch"), findsOneWidget);
});

testWidgets("Button sends MavLink command", (WidgetTester tester) async {});
});
}

0 comments on commit 35d9b1b

Please sign in to comment.