@jobber/components-native 0.43.1-pre.4 → 0.43.1-pre.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/consumerSetup.js +18 -18
  2. package/package.json +2 -2
package/consumerSetup.js CHANGED
@@ -9,24 +9,24 @@
9
9
 
10
10
  require("react-native-reanimated/lib/reanimated2/jestUtils").setUpTests();
11
11
 
12
- // jest.mock("react-native-reanimated", () => {
13
- // const reanimated = require("react-native-reanimated/mock");
14
- // const timing = () => ({ start: () => undefined });
15
- // return {
16
- // ...reanimated,
17
- // default: {
18
- // ...reanimated.default,
19
- // timing,
20
- // // The mock for `call` immediately calls the callback which is incorrect
21
- // // So we override it with a no-op
22
- // call: () => undefined,
23
- // },
24
- // timing,
25
- // FadeIn: {
26
- // duration: () => undefined,
27
- // },
28
- // };
29
- // });
12
+ jest.mock("react-native-reanimated", () => {
13
+ const reanimated = require("react-native-reanimated/mock");
14
+ const timing = () => ({ start: () => undefined });
15
+ return {
16
+ ...reanimated,
17
+ default: {
18
+ ...reanimated.default,
19
+ timing,
20
+ // The mock for `call` immediately calls the callback which is incorrect
21
+ // So we override it with a no-op
22
+ call: () => undefined,
23
+ },
24
+ timing,
25
+ FadeIn: {
26
+ duration: () => undefined,
27
+ },
28
+ };
29
+ });
30
30
  jest.mock("react-native/Libraries/Animated/NativeAnimatedHelper");
31
31
 
32
32
  // jest.mock("react-native-uuid", () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components-native",
3
- "version": "0.43.1-pre.4+82e8d462",
3
+ "version": "0.43.1-pre.6+8d08c414",
4
4
  "license": "MIT",
5
5
  "description": "React Native implementation of Atlantis",
6
6
  "repository": {
@@ -80,5 +80,5 @@
80
80
  "react-native-reanimated": "^2.17.0",
81
81
  "react-native-safe-area-context": "^4.5.0"
82
82
  },
83
- "gitHead": "82e8d4623bc18b20ecc3edb10e3077577ac71c02"
83
+ "gitHead": "8d08c414affd035d132b0b295d16b9dec5be7d7c"
84
84
  }