@mui/internal-test-utils 2.0.18-canary.21 → 2.0.18-canary.23
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/chaiPlugin.js +1 -1
- package/chaiPlugin.mjs +1 -1
- package/package.json +2 -2
package/chaiPlugin.js
CHANGED
|
@@ -231,7 +231,7 @@ const chaiPlugin = (chaiAPI, utils) => {
|
|
|
231
231
|
// unexpected thrown error takes precedence over unexpected console call
|
|
232
232
|
if (caughtError !== null) {
|
|
233
233
|
// not the same pattern as described in the block because we don't rethrow in the catch
|
|
234
|
-
// eslint-disable-next-line no-unsafe-finally
|
|
234
|
+
// eslint-disable-next-line no-unsafe-finally, mui/no-guarded-throw
|
|
235
235
|
throw caughtError;
|
|
236
236
|
}
|
|
237
237
|
const formatMessages = messages => {
|
package/chaiPlugin.mjs
CHANGED
|
@@ -224,7 +224,7 @@ const chaiPlugin = (chaiAPI, utils) => {
|
|
|
224
224
|
// unexpected thrown error takes precedence over unexpected console call
|
|
225
225
|
if (caughtError !== null) {
|
|
226
226
|
// not the same pattern as described in the block because we don't rethrow in the catch
|
|
227
|
-
// eslint-disable-next-line no-unsafe-finally
|
|
227
|
+
// eslint-disable-next-line no-unsafe-finally, mui/no-guarded-throw
|
|
228
228
|
throw caughtError;
|
|
229
229
|
}
|
|
230
230
|
const formatMessages = messages => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/internal-test-utils",
|
|
3
|
-
"version": "2.0.18-canary.
|
|
3
|
+
"version": "2.0.18-canary.23",
|
|
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",
|
|
@@ -160,5 +160,5 @@
|
|
|
160
160
|
},
|
|
161
161
|
"main": "./index.js",
|
|
162
162
|
"types": "./index.d.ts",
|
|
163
|
-
"gitSha": "
|
|
163
|
+
"gitSha": "c9245bbb426543b6fe283c54b7a115b1911797cb"
|
|
164
164
|
}
|