@mui/internal-test-utils 2.0.18-canary.26 → 2.0.18-canary.28

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": "@mui/internal-test-utils",
3
- "version": "2.0.18-canary.26",
3
+ "version": "2.0.18-canary.28",
4
4
  "author": "MUI Team",
5
5
  "description": "Utilities for MUI tests. This is an internal package not meant for general use.",
6
6
  "license": "MIT",
@@ -18,7 +18,7 @@
18
18
  "assertion-error": "^2.0.1",
19
19
  "chai-dom": "^1.12.1",
20
20
  "dom-accessibility-api": "^0.7.1",
21
- "es-toolkit": "^1.46.1",
21
+ "es-toolkit": "^1.49.0",
22
22
  "format-util": "^1.0.5",
23
23
  "prop-types": "^15.8.1",
24
24
  "vitest-fail-on-console": "^0.10.1"
@@ -160,5 +160,5 @@
160
160
  },
161
161
  "main": "./index.js",
162
162
  "types": "./index.d.ts",
163
- "gitSha": "cb672accc6b61d455e18ce874f99ea841831a734"
163
+ "gitSha": "933778765478ee4b27028ebdbb89c581a830e27f"
164
164
  }
package/setupVitest.js CHANGED
@@ -47,13 +47,13 @@ function setupVitest({
47
47
  }
48
48
  if (message.includes('Warning: useLayoutEffect does nothing on the server')) {
49
49
  // Controversial warning that is commonly ignored by switching to `useEffect` on the server.
50
- // https://github.com/facebook/react/issues/14927
50
+ // https://github.com/react/react/issues/14927
51
51
  // However, this switch doesn't work since it relies on environment sniffing and we test SSR in a browser environment.
52
52
  return true;
53
53
  }
54
54
 
55
55
  // Unclear why this is an issue for the current occurrences of this warning.
56
- // TODO: Revisit once https://github.com/facebook/react/issues/22796 is resolved
56
+ // TODO: Revisit once https://github.com/react/react/issues/22796 is resolved
57
57
  if (message.includes('Detected multiple renderers concurrently rendering the same context provider.')) {
58
58
  return true;
59
59
  }
package/setupVitest.mjs CHANGED
@@ -38,13 +38,13 @@ export default function setupVitest({
38
38
  }
39
39
  if (message.includes('Warning: useLayoutEffect does nothing on the server')) {
40
40
  // Controversial warning that is commonly ignored by switching to `useEffect` on the server.
41
- // https://github.com/facebook/react/issues/14927
41
+ // https://github.com/react/react/issues/14927
42
42
  // However, this switch doesn't work since it relies on environment sniffing and we test SSR in a browser environment.
43
43
  return true;
44
44
  }
45
45
 
46
46
  // Unclear why this is an issue for the current occurrences of this warning.
47
- // TODO: Revisit once https://github.com/facebook/react/issues/22796 is resolved
47
+ // TODO: Revisit once https://github.com/react/react/issues/22796 is resolved
48
48
  if (message.includes('Detected multiple renderers concurrently rendering the same context provider.')) {
49
49
  return true;
50
50
  }