/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @format
 */
/* eslint-env jest */
import { NativeModules } from 'react-native';
import { beforeAll } from '@jest/globals';
// Mock the ImagePickerManager native module to allow us to unit test the JavaScript code
NativeModules.ImagePickerManager = {
    showImagePicker: jest.fn(),
    launchCamera: jest.fn(),
    launchImageLibrary: jest.fn(),
};
NativeModules.ReactNativeHaptic = {
    generate: jest.fn(),
};
// Reset the mocks before each test
beforeAll(() => {
    jest.resetAllMocks();
});
//# sourceMappingURL=mocks.js.map