release: seal Focus Seed 1.0.0
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:focus_seed/src/app/focus_seed_app.dart';
|
||||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
|
||||
void main() {
|
||||
testWidgets('Focus Seed opens to the today screen', (tester) async {
|
||||
SharedPreferences.setMockInitialValues({});
|
||||
|
||||
await tester.pumpWidget(const FocusSeedApp());
|
||||
await tester.pumpAndSettle();
|
||||
|
||||
expect(find.text('Focus Seed'), findsOneWidget);
|
||||
expect(find.text('Today anchor'), findsOneWidget);
|
||||
expect(find.text('Start focus'), findsOneWidget);
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user