14 lines
432 B
Dart
14 lines
432 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_test/flutter_test.dart';
|
|
|
|
import 'package:peach/main.dart';
|
|
|
|
void main() {
|
|
testWidgets('Peach shows the branded splash on boot', (tester) async {
|
|
await tester.pumpWidget(const Peach());
|
|
// While storage loads, the splash screen is shown.
|
|
expect(find.text('Peach'), findsOneWidget);
|
|
expect(find.byType(LinearProgressIndicator), findsWidgets);
|
|
});
|
|
}
|