Add persisted local state and baseline CRUD flows
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:relationship_saver/main.dart';
|
||||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
|
||||
void main() {
|
||||
setUpAll(() async {
|
||||
SharedPreferences.setMockInitialValues(<String, Object>{});
|
||||
});
|
||||
|
||||
testWidgets('renders dashboard flow', (WidgetTester tester) async {
|
||||
await tester.pumpWidget(const ProviderScope(child: RelationshipSaverApp()));
|
||||
await tester.pumpAndSettle();
|
||||
|
||||
Reference in New Issue
Block a user