jest-expo 54.0.0-canary-20250613-b29d676-1 → 54.0.0-canary-20250626-8ab1d87

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": "54.0.0-canary-20250613-b29d676-1",
3
+ "version": "54.0.0-canary-20250626-8ab1d87",
4
4
  "description": "A Jest preset to painlessly test your Expo / React Native apps.",
5
5
  "license": "MIT",
6
6
  "main": "src/index.js",
@@ -37,8 +37,8 @@
37
37
  "preset": "jest-expo/universal"
38
38
  },
39
39
  "dependencies": {
40
- "@expo/config": "11.0.11-canary-20250613-b29d676",
41
- "@expo/json-file": "9.1.5-canary-20250613-b29d676",
40
+ "@expo/config": "11.0.11-canary-20250626-8ab1d87",
41
+ "@expo/json-file": "9.1.5-canary-20250626-8ab1d87",
42
42
  "@jest/create-cache-key-function": "^29.2.1",
43
43
  "@jest/globals": "^29.2.1",
44
44
  "babel-jest": "^29.2.1",
@@ -55,7 +55,7 @@
55
55
  "stacktrace-js": "^2.0.2"
56
56
  },
57
57
  "peerDependencies": {
58
- "expo": "54.0.0-canary-20250613-b29d676-1",
58
+ "expo": "*",
59
59
  "react-native": "*"
60
60
  }
61
61
  }
@@ -1432,6 +1432,9 @@ module.exports = {
1432
1432
  ExpoLivePhoto: {
1433
1433
  propNames: ['contentFit', 'isMuted', 'source', 'useDefaultGestureRecognizer'],
1434
1434
  },
1435
+ ExpoRouterNativeLinkPreview: {
1436
+ propNames: ['nextScreenId', 'actions', 'preferredContentSize'],
1437
+ },
1435
1438
  ExponentGLView: { propNames: ['enableExperimentalWorkletSupport', 'msaaSamples'] },
1436
1439
  ExpoVideo: {
1437
1440
  propNames: [
@@ -4,9 +4,8 @@
4
4
  */
5
5
  'use strict';
6
6
 
7
- const merge = require('lodash/merge');
8
-
9
7
  const findUp = require('find-up');
8
+ const merge = require('lodash/merge');
10
9
  const path = require('path');
11
10
  const mockNativeModules = require('react-native/Libraries/BatchedBridge/NativeModules').default;
12
11
  const stackTrace = require('stacktrace-js');
@@ -128,6 +127,9 @@ Object.keys(mockNativeModules.NativeUnimoduleProxy.viewManagersMetadata).forEach
128
127
  }
129
128
  );
130
129
 
130
+ // Mock Expo's default async require messaging sockets when running tests
131
+ jest.mock('expo/src/async-require/messageSocket', () => undefined);
132
+
131
133
  try {
132
134
  jest.mock('expo-file-system', () => ({
133
135
  downloadAsync: jest.fn(() => Promise.resolve({ md5: 'md5', uri: 'uri' })),