Skip to content

Commit 5cf1249

Browse files
Update babel.config.js
Signed-off-by: Olivier Tassinari <[email protected]>
1 parent f533c0b commit 5cf1249

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module.exports = function getBabelConfig(api) {
4747
{
4848
// Reduces cold start time of tests. Hoisting the elements is also almost never intended for test files.
4949
// Context https://github.com/mui/material-ui/pull/26448
50-
exclude: /\.test\.(js|tsx)$/,
50+
exclude: /\.test\.(m?js|tsx)$/,
5151
plugins: ['@babel/plugin-transform-react-constant-elements'],
5252
},
5353
{

0 commit comments

Comments
 (0)