Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(ci): repair main lint, web, and server/mobile test regressions #21287

Closedluke2x(GitHub profile, opens in a new tab)wants to merge 4 commits intomain fromrefs/pull/21287/headopened View on GitHub

Showing 7 changed files with 7 additions and 6 deletions (loading 3).

x
0 of 7 viewed, 7 left
1 addition and 1 deletionapps/mobile/src/features/settings/components/BranchNamingSettings.test.tsxModified
View file
@@ -17,7 +17,7 @@
vi.mock("react-native", () => ({
View: ({ children }: { children: ReactNode }) => <div>{children}</div>,
}));
-vi.mock("../../../components/AppText", () => ({
+vi.mock("../../../components/ui/AppText", () => ({
AppText: ({ children }: { children: ReactNode }) => <span>{children}</span>,
AppTextInput: (props: InputProps) => {
inputs.set(props.accessibilityLabel, props);
3 additions and 2 deletionsapps/mobile/src/features/settings/SettingsServerControlsRouteScreen.test.tsxModified
View file
@@ -25,14 +25,15 @@
useAtomCommand: () => mocks.updateSettings,
}));
vi.mock("../threads/thread-settings-options", () => ({ RUNTIME_MODE_CHOICES: [] }));
-vi.mock("../../components/ScreenScrollView", () => ({ ScreenScrollView: Children }));
-vi.mock("../../components/AppText", () => ({ AppText: Children }));
+vi.mock("../../components/ui/ScreenScrollView", () => ({ ScreenScrollView: Children }));
+vi.mock("../../components/ui/AppText", () => ({ AppText: Children }));
vi.mock("./components/SettingsScreen", () => ({ SettingsScreen: Children }));
vi.mock("./components/SettingsEnvironmentFilterHeader", () => ({
AndroidSettingsEnvironmentFilter: () => null,
SettingsEnvironmentFilterHeader: () => null,
}));
vi.mock("./components/SettingsSection", () => ({ SettingsSection: Children }));
+vi.mock("./components/DatabaseStorageNotice", () => ({ DatabaseStorageNotice: () => null }));
vi.mock("./components/SettingsChoiceRow", () => ({ SettingsChoiceRow: () => null }));
vi.mock("./components/SettingsSwitchRow", () => ({ SettingsSwitchRow: () => null }));