We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f533c0b commit 5cf1249Copy full SHA for 5cf1249
babel.config.js
@@ -47,7 +47,7 @@ module.exports = function getBabelConfig(api) {
47
{
48
// Reduces cold start time of tests. Hoisting the elements is also almost never intended for test files.
49
// Context https://github.com/mui/material-ui/pull/26448
50
- exclude: /\.test\.(js|tsx)$/,
+ exclude: /\.test\.(m?js|tsx)$/,
51
plugins: ['@babel/plugin-transform-react-constant-elements'],
52
},
53
0 commit comments