jest-expo 57.0.0 → 57.0.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jest-expo",
3
- "version": "57.0.0",
3
+ "version": "57.0.2",
4
4
  "description": "A Jest preset to painlessly test your Expo / React Native apps.",
5
5
  "license": "MIT",
6
6
  "main": "src/index.js",
@@ -49,7 +49,7 @@
49
49
  "peerDependencies": {
50
50
  "expo": "*",
51
51
  "react-native": "*",
52
- "@react-native/jest-preset": "^0.85.0",
52
+ "@react-native/jest-preset": "^0.86.0",
53
53
  "react-server-dom-webpack": "~19.0.4 || ~19.1.5 || ~19.2.4"
54
54
  },
55
55
  "peerDependenciesMeta": {
@@ -65,7 +65,7 @@
65
65
  "@types/react": "~19.2.0",
66
66
  "react-server-dom-webpack": "~19.0.6"
67
67
  },
68
- "gitHead": "e3eb896c5fdcd89e0cded98ff4e35c9db12cc9c0",
68
+ "gitHead": "70af1caf83d8a324b46e02e18cd5c8c4e310da20",
69
69
  "scripts": {
70
70
  "lint": "eslint .",
71
71
  "test": "jest"
@@ -7,7 +7,7 @@ module.exports = {
7
7
  CalendarNext: [
8
8
  { name: 'createCalendar', argumentsCount: 1, key: 'createCalendar' },
9
9
  { name: 'getCalendarById', argumentsCount: 1, key: 'getCalendarById' },
10
- { name: 'getCalendarPermissions', argumentsCount: 0, key: 'getCalendarPermissions' },
10
+ { name: 'getCalendarPermissions', argumentsCount: 1, key: 'getCalendarPermissions' },
11
11
  { name: 'getCalendars', argumentsCount: 1, key: 'getCalendars' },
12
12
  { name: 'getDefaultCalendarSync', argumentsCount: 0, key: 'getDefaultCalendarSync' },
13
13
  { name: 'getEventById', argumentsCount: 1, key: 'getEventById' },
@@ -18,7 +18,7 @@ module.exports = {
18
18
  { name: 'presentPicker', argumentsCount: 0, key: 'presentPicker' },
19
19
  {
20
20
  name: 'requestCalendarPermissions',
21
- argumentsCount: 0,
21
+ argumentsCount: 1,
22
22
  key: 'requestCalendarPermissions',
23
23
  },
24
24
  {
@@ -338,6 +338,8 @@ module.exports = {
338
338
  { name: 'getCachePathAsync', argumentsCount: 1, key: 'getCachePathAsync' },
339
339
  { name: 'loadAsync', argumentsCount: 2, key: 'loadAsync' },
340
340
  { name: 'prefetch', argumentsCount: 3, key: 'prefetch' },
341
+ { name: 'readFromCacheAsync', argumentsCount: 1, key: 'readFromCacheAsync' },
342
+ { name: 'writeToCacheAsync', argumentsCount: 2, key: 'writeToCacheAsync' },
341
343
  ],
342
344
  ExpoImageManipulator: [{ name: 'manipulate', argumentsCount: 1, key: 'manipulate' }],
343
345
  ExpoKeepAwake: [
@@ -376,6 +378,11 @@ module.exports = {
376
378
  argumentsCount: 1,
377
379
  key: 'getLastKnownPositionAsync',
378
380
  },
381
+ {
382
+ name: 'getMotionActivityPermissionsAsync',
383
+ argumentsCount: 0,
384
+ key: 'getMotionActivityPermissionsAsync',
385
+ },
379
386
  { name: 'getPermissionsAsync', argumentsCount: 0, key: 'getPermissionsAsync' },
380
387
  { name: 'getProviderStatusAsync', argumentsCount: 0, key: 'getProviderStatusAsync' },
381
388
  { name: 'hasServicesEnabledAsync', argumentsCount: 0, key: 'hasServicesEnabledAsync' },
@@ -400,6 +407,11 @@ module.exports = {
400
407
  argumentsCount: 0,
401
408
  key: 'requestForegroundPermissionsAsync',
402
409
  },
410
+ {
411
+ name: 'requestMotionActivityPermissionsAsync',
412
+ argumentsCount: 0,
413
+ key: 'requestMotionActivityPermissionsAsync',
414
+ },
403
415
  { name: 'requestPermissionsAsync', argumentsCount: 0, key: 'requestPermissionsAsync' },
404
416
  { name: 'reverseGeocodeAsync', argumentsCount: 1, key: 'reverseGeocodeAsync' },
405
417
  { name: 'startGeofencingAsync', argumentsCount: 2, key: 'startGeofencingAsync' },
@@ -411,6 +423,11 @@ module.exports = {
411
423
  { name: 'stopGeofencingAsync', argumentsCount: 1, key: 'stopGeofencingAsync' },
412
424
  { name: 'stopLocationUpdatesAsync', argumentsCount: 1, key: 'stopLocationUpdatesAsync' },
413
425
  { name: 'watchDeviceHeading', argumentsCount: 1, key: 'watchDeviceHeading' },
426
+ {
427
+ name: 'watchMotionActivityImplAsync',
428
+ argumentsCount: 1,
429
+ key: 'watchMotionActivityImplAsync',
430
+ },
414
431
  { name: 'watchPositionImplAsync', argumentsCount: 2, key: 'watchPositionImplAsync' },
415
432
  ],
416
433
  ExpoMailComposer: [
@@ -1111,7 +1128,9 @@ module.exports = {
1111
1128
  getCachePathAsync: { type: 'function' },
1112
1129
  loadAsync: { type: 'function' },
1113
1130
  prefetch: { type: 'function' },
1131
+ readFromCacheAsync: { type: 'function' },
1114
1132
  removeListeners: { type: 'function' },
1133
+ writeToCacheAsync: { type: 'function' },
1115
1134
  },
1116
1135
  ExpoImageManipulator: {
1117
1136
  addListener: { type: 'function' },
@@ -1146,6 +1165,7 @@ module.exports = {
1146
1165
  getCurrentPositionAsync: { type: 'function' },
1147
1166
  getForegroundPermissionsAsync: { type: 'function' },
1148
1167
  getLastKnownPositionAsync: { type: 'function' },
1168
+ getMotionActivityPermissionsAsync: { type: 'function' },
1149
1169
  getPermissionsAsync: { type: 'function' },
1150
1170
  getProviderStatusAsync: { type: 'function' },
1151
1171
  hasServicesEnabledAsync: { type: 'function' },
@@ -1155,6 +1175,7 @@ module.exports = {
1155
1175
  removeWatchAsync: { type: 'function' },
1156
1176
  requestBackgroundPermissionsAsync: { type: 'function' },
1157
1177
  requestForegroundPermissionsAsync: { type: 'function' },
1178
+ requestMotionActivityPermissionsAsync: { type: 'function' },
1158
1179
  requestPermissionsAsync: { type: 'function' },
1159
1180
  reverseGeocodeAsync: { type: 'function' },
1160
1181
  startGeofencingAsync: { type: 'function' },
@@ -1162,6 +1183,7 @@ module.exports = {
1162
1183
  stopGeofencingAsync: { type: 'function' },
1163
1184
  stopLocationUpdatesAsync: { type: 'function' },
1164
1185
  watchDeviceHeading: { type: 'function' },
1186
+ watchMotionActivityImplAsync: { type: 'function' },
1165
1187
  watchPositionImplAsync: { type: 'function' },
1166
1188
  },
1167
1189
  ExpoMailComposer: {
@@ -1479,6 +1501,7 @@ module.exports = {
1479
1501
  addListener: { type: 'function' },
1480
1502
  completeRefresh: { type: 'function' },
1481
1503
  removeListeners: { type: 'function' },
1504
+ withAnimation: { type: 'function' },
1482
1505
  },
1483
1506
  ExpoUpdates: {
1484
1507
  addListener: { type: 'function' },
@@ -1594,6 +1617,7 @@ module.exports = {
1594
1617
  'contentInsetAdjustmentBehavior',
1595
1618
  'decelerationRate',
1596
1619
  'directionalLockEnabled',
1620
+ 'hideKeyboardAccessoryView',
1597
1621
  'injectedJavaScript',
1598
1622
  'injectedJavaScriptBeforeContentLoaded',
1599
1623
  'injectedJavaScriptObject',