fluffychat/test/homeserver_picker_test.dart

17 lines
433 B
Dart
Raw Normal View History

2021-05-22 08:57:49 +02:00
import 'package:fluffychat/pages/homeserver_picker.dart';
2021-04-10 17:30:15 +02:00
import 'package:fluffychat/main.dart';
import 'package:flutter_test/flutter_test.dart';
import 'utils/test_client.dart';
2021-04-10 17:30:15 +02:00
void main() {
testWidgets('Test if the widget can be created', (WidgetTester tester) async {
await tester.pumpWidget(
FluffyChatApp(
client: await prepareTestClient(),
testWidget: HomeserverPicker(),
),
);
2021-04-10 17:30:15 +02:00
});
}