-
-
Notifications
You must be signed in to change notification settings - Fork 14
commit 7ba0d8f
abduznik edited this page May 23, 2026
·
1 revision
Commit: 7ba0d8fe75babe9ed14c1874ae7116723e5d2948
Author: abduznik
Date: 2026-04-28
Why: Adds or updates tests to ensure code correctness and prevent regressions.
test/widgets/settings_screen_test.dart | 1 +
1 file changed, 1 insertion(+)
test/widgets/settings_screen_test.dart
diff --git a/test/widgets/settings_screen_test.dart b/test/widgets/settings_screen_test.dart
index d7eb083..2af5f44 100644
--- a/test/widgets/settings_screen_test.dart
+++ b/test/widgets/settings_screen_test.dart
@@ -37,6 +37,7 @@ void main() {
when(mockDirectoryService.status).thenReturn(const StorageStatus());
when(mockDirectoryService.isEmulatorInstalled(any, any)).thenAnswer((_) async => true);
when(mockDirectoryService.getEmulatorPathOverride(any)).thenReturn(null);
+ when(mockDirectoryService.linuxSyncPreset).thenReturn('default');
when(mockRommService.getPlatforms()).thenAnswer((_) async => []);
when(mockStrategyRegistry.detectConflicts()).thenReturn(<String, List<EmulatorStrategy>>{});
});