Unified · Split
| @@ -29,6 +29,10 @@ if (process.env.EXPO_PUBLIC_SHOWCASE === "1") { · 28 unmodified lines | ||
| 29 | 29 | prepareNativeShowcaseCapture(); |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | +void SplashScreen.preventAutoHideAsync().catch(() => { | |
| 33 | + // The native module can be unavailable in non-native test environments. | |
| 34 | +}); | |
| 35 | + | |
| 32 | 36 | const appLinking = { |
| 33 | 37 | prefixes: [Linking.createURL("/"), "t3code://", "t3code-dev://", "t3code-preview://"], |
| 34 | 38 | // The Expo dev client launches the app via |
| @@ -24,7 +24,6 @@ describe("home list options", () => { · 23 unmodified lines | ||
| 24 | 24 | expect( |
| 25 | 25 | hasCustomHomeListOptions({ ...defaults, selectedEnvironmentId: "environment-1" as never }), |
| 26 | 26 | ).toBe(true); |
| 27 | − expect(hasCustomHomeListOptions({ ...defaults, projectGroupingMode: "separate" })).toBe(true); | |
| 28 | 27 | expect( |
| 29 | 28 | hasCustomHomeListOptions({ ...defaults, selectedProjectKey: "environment-1:project-1" }), |
| 30 | 29 | ).toBe(true); |
| @@ -88,7 +88,6 @@ export function HomeListOptionsProvider({ · 87 unmodified lines | ||
| 88 | 88 | export function hasCustomHomeListOptions( |
| 89 | 89 | options: HomeListOptions & { |
| 90 | 90 | readonly selectedProjectKey?: string | null; |
| 91 | − readonly projectGroupingMode?: SidebarProjectGroupingMode; | |
| 92 | 91 | }, |
| 93 | 92 | ): boolean { |
| 94 | 93 | const defaultProjectSortOrder = |
| @@ -97,7 +96,6 @@ export function hasCustomHomeListOptions( · 2 unmodified lines | ||
| 97 | 96 | : DEFAULT_SIDEBAR_PROJECT_SORT_ORDER; |
| 98 | 97 | return ( |
| 99 | 98 | options.selectedEnvironmentId !== null || |
| 100 | − (options.projectGroupingMode !== undefined && options.projectGroupingMode !== "repository") || | |
| 101 | 99 | (options.selectedProjectKey !== null && options.selectedProjectKey !== undefined) || |
| 102 | 100 | options.projectSortOrder !== defaultProjectSortOrder || |
| 103 | 101 | options.threadSortOrder !== DEFAULT_SIDEBAR_THREAD_SORT_ORDER |