Something went wrong. Try again.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233// Mock native modules that aren't available in test environmentjest.mock("expo-secure-store", () => ({ getItemAsync: jest.fn(), setItemAsync: jest.fn(), deleteItemAsync: jest.fn(),}));
jest.mock("expo-location", () => ({ requestForegroundPermissionsAsync: jest.fn(), getCurrentPositionAsync: jest.fn(), Accuracy: { Balanced: 3 },}));
jest.mock("expo-image-picker", () => ({ launchCameraAsync: jest.fn(), launchImageLibraryAsync: jest.fn(),}));
jest.mock("expo-image-manipulator", () => ({ manipulateAsync: jest.fn(), SaveFormat: { JPEG: "jpeg" },}));
jest.mock("expo-web-browser", () => ({ openAuthSessionAsync: jest.fn(),}));
jest.mock("@atproto/oauth-client-expo", () => ({ ExpoOAuthClient: jest.fn(),}));
jest.mock("react-native-url-polyfill/auto", () => {});