UNPKG

@mhpdev/react-native-haptics

Version:

A high-performance React Native library for iOS haptics and Android vibration effects

11 lines (8 loc) 260 B
/* global jest */ const Haptics = { impact: jest.fn(() => Promise.resolve()), selection: jest.fn(() => Promise.resolve()), notification: jest.fn(() => Promise.resolve()), androidHaptics: jest.fn(() => Promise.resolve()), }; module.exports = Haptics;