Files
Maagap/ioneapps-maagapp-ee31119a522d/__mocks__/react-native-haptic-feedback.js
2025-08-06 13:49:11 +08:00

16 lines
375 B
JavaScript

/* global jest: false */
jest.mock('react-native-haptic-feedback', () => ({
trigger: jest.fn(),
}));
// import { NativeModules } from 'react-native';
// NativeModules.RNReactNativeHapticFeedback = {
// trigger: jest.fn(),
// };
// const ReactNativeHapticFeedback = jest.genMockFromModule('react-native-haptic-feedback');
// module.exports = ReactNativeHapticFeedback;