jest-expo 48.0.1 → 48.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": "48.0.1",
3
+ "version": "48.0.2",
4
4
  "description": "A Jest preset to painlessly test your Expo / React Native apps.",
5
5
  "license": "MIT",
6
6
  "main": "src",
@@ -46,5 +46,5 @@
46
46
  "url": "https://github.com/expo/expo/issues"
47
47
  },
48
48
  "homepage": "https://github.com/expo/expo/tree/main/packages/jest-expo",
49
- "gitHead": "40dcd1732b69f09798a28691f6b17b820a2bbbf5"
49
+ "gitHead": "da905d1c00e6bbf52c37625134758026d7054f3f"
50
50
  }
@@ -11,8 +11,8 @@ const internalExpoModules = require('./internalExpoModules');
11
11
 
12
12
  // window isn't defined as of react-native 0.45+ it seems
13
13
  if (typeof window !== 'object') {
14
- global.window = global;
15
- global.window.navigator = {};
14
+ globalThis.window = global;
15
+ globalThis.window.navigator = {};
16
16
  }
17
17
 
18
18
  const mockImageLoader = {