fluffychat/test/homeserver_picker_test.dart

17 lines
433 B
Dart

import 'package:fluffychat/pages/homeserver_picker.dart';
import 'package:fluffychat/main.dart';
import 'package:flutter_test/flutter_test.dart';
import 'utils/test_client.dart';
void main() {
testWidgets('Test if the widget can be created', (WidgetTester tester) async {
await tester.pumpWidget(
FluffyChatApp(
client: await prepareTestClient(),
testWidget: HomeserverPicker(),
),
);
});
}