jest-expo 57.0.5 → 57.0.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.
|
@@ -53,7 +53,7 @@ function getPlatformPreset(displayOptions, extensions, platform, { isServer, isR
|
|
|
53
53
|
{
|
|
54
54
|
caller: {
|
|
55
55
|
name: 'metro',
|
|
56
|
-
bundler: '
|
|
56
|
+
bundler: 'jest',
|
|
57
57
|
// Add support for the `platform` babel transforms and inlines such as
|
|
58
58
|
// Platform.OS and `process.env.EXPO_OS`.
|
|
59
59
|
platform,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jest-expo",
|
|
3
|
-
"version": "57.0.
|
|
3
|
+
"version": "57.0.6",
|
|
4
4
|
"description": "A Jest preset to painlessly test your Expo / React Native apps.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@types/react": "~19.2.0",
|
|
66
66
|
"react-server-dom-webpack": "~19.0.6"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "58da4edafcb043872c3ed9bf8f5957e6544d0a9c",
|
|
69
69
|
"scripts": {
|
|
70
70
|
"lint": "eslint .",
|
|
71
71
|
"test": "jest"
|
|
@@ -76,7 +76,7 @@ function resolveBabelOptions(projectRoot = process.cwd()) {
|
|
|
76
76
|
configFile: true,
|
|
77
77
|
extends: babelConfigOpts.exts,
|
|
78
78
|
presets: babelConfigOpts.presets,
|
|
79
|
-
caller: { name: 'metro', bundler: '
|
|
79
|
+
caller: { name: 'metro', bundler: 'jest', platform: 'ios' },
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
82
|
|