@react-spectrum/test-utils 3.0.0-nightly.2911 → 3.0.0-nightly.2917

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.
@@ -19,10 +19,10 @@ $parcel$export(module.exports, "simulateDesktop", () => $4a49f14ca150c145$export
19
19
  * Mocks screen width to simulate mobile experience, useful for testing Tray rendering.
20
20
  * @param width Optional width to apply. Automatically clamped to the maximum value allowed for mobile rendering.
21
21
  */ function $4a49f14ca150c145$export$54df5c253b80fcbe(width = 700) {
22
- jest.spyOn(window.screen, "width", "get").mockImplementation(()=>Math.min(Math.max(width, 0), 700));
22
+ jest.spyOn(window.screen, 'width', 'get').mockImplementation(()=>Math.min(Math.max(width, 0), 700));
23
23
  }
24
24
  function $4a49f14ca150c145$export$ff7d7f7ce6432302(width = 701) {
25
- jest.spyOn(window.screen, "width", "get").mockImplementation(()=>Math.max(width, 701));
25
+ jest.spyOn(window.screen, 'width', 'get').mockImplementation(()=>Math.max(width, 701));
26
26
  }
27
27
 
28
28
 
@@ -12,10 +12,10 @@
12
12
  * Mocks screen width to simulate mobile experience, useful for testing Tray rendering.
13
13
  * @param width Optional width to apply. Automatically clamped to the maximum value allowed for mobile rendering.
14
14
  */ function $64c3935c8d6a7115$export$54df5c253b80fcbe(width = 700) {
15
- jest.spyOn(window.screen, "width", "get").mockImplementation(()=>Math.min(Math.max(width, 0), 700));
15
+ jest.spyOn(window.screen, 'width', 'get').mockImplementation(()=>Math.min(Math.max(width, 0), 700));
16
16
  }
17
17
  function $64c3935c8d6a7115$export$ff7d7f7ce6432302(width = 701) {
18
- jest.spyOn(window.screen, "width", "get").mockImplementation(()=>Math.max(width, 701));
18
+ jest.spyOn(window.screen, 'width', 'get').mockImplementation(()=>Math.max(width, 701));
19
19
  }
20
20
 
21
21
 
@@ -12,10 +12,10 @@
12
12
  * Mocks screen width to simulate mobile experience, useful for testing Tray rendering.
13
13
  * @param width Optional width to apply. Automatically clamped to the maximum value allowed for mobile rendering.
14
14
  */ function $64c3935c8d6a7115$export$54df5c253b80fcbe(width = 700) {
15
- jest.spyOn(window.screen, "width", "get").mockImplementation(()=>Math.min(Math.max(width, 0), 700));
15
+ jest.spyOn(window.screen, 'width', 'get').mockImplementation(()=>Math.min(Math.max(width, 0), 700));
16
16
  }
17
17
  function $64c3935c8d6a7115$export$ff7d7f7ce6432302(width = 701) {
18
- jest.spyOn(window.screen, "width", "get").mockImplementation(()=>Math.max(width, 701));
18
+ jest.spyOn(window.screen, 'width', 'get').mockImplementation(()=>Math.max(width, 701));
19
19
  }
20
20
 
21
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/test-utils",
3
- "version": "3.0.0-nightly.2911+b294de874",
3
+ "version": "3.0.0-nightly.2917+c34886769",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -24,7 +24,7 @@
24
24
  "url": "https://github.com/adobe/react-spectrum"
25
25
  },
26
26
  "dependencies": {
27
- "@react-aria/test-utils": "1.0.0-nightly.4623+b294de874",
27
+ "@react-aria/test-utils": "1.0.0-nightly.4629+c34886769",
28
28
  "@swc/helpers": "^0.5.0"
29
29
  },
30
30
  "peerDependencies": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "b294de874c16fad64bc4b930ccee1c9ffeb1c20f"
39
+ "gitHead": "c34886769d3e69bb56553a02eead6a0fd877e754"
40
40
  }