We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47ba829 commit 57270b6Copy full SHA for 57270b6
2 files changed
jest/index.js
@@ -0,0 +1,10 @@
1
+/* global jest */
2
+
3
+const Haptics = {
4
+ impact: jest.fn(() => Promise.resolve()),
5
+ selection: jest.fn(() => Promise.resolve()),
6
+ notification: jest.fn(() => Promise.resolve()),
7
+ androidHaptics: jest.fn(() => Promise.resolve()),
8
+};
9
10
+module.exports = Haptics;
package.json
@@ -9,6 +9,7 @@
"files": [
"src",
11
"lib",
12
+ "jest",
13
"android",
14
"ios",
15
"cpp",
0 commit comments