        [
          `Material-UI: You are using a variant value \`test\` for which you didn't define styles.`,
          `Please create a new variant matcher in your theme for this variant. To learn more about matchers visit https://next.material-ui.com/r/custom-component-variants.`,
+diff --git a/packages/material-ui-utils/src/elementAcceptingRef.test.tsx b/packages/material-ui-utils/src/elementAcceptingRef.test.tsx
+index 10c5a998cb..b5390af22b 100644
+--- a/packages/material-ui-utils/src/elementAcceptingRef.test.tsx
++++ b/packages/material-ui-utils/src/elementAcceptingRef.test.tsx
+@@ -89,11 +89,11 @@ describe('elementAcceptingRef', () => {
+ 
+     it('accepts lazy', () => {
+       const Component = React.lazy(() =>
+-        Promise.resolve({ default: (props: any) => <div {...props} /> }),
++        Promise.resolve({
++          default: React.forwardRef((props, ref) => <div {...props} ref={ref} />),
++        }),
+       );
+ 
+-      // should actually fail when mounting since the ref is forwarded to a function component
+-      // but since this happens in a promise our consoleErrorMock doesn't catch it properly
+       assertPass(<Component />);
+     });
+ 
 diff --git a/packages/material-ui/src/Breadcrumbs/Breadcrumbs.test.js b/packages/material-ui/src/Breadcrumbs/Breadcrumbs.test.js
-index 273e3a009d..2a6c4b1379 100644
+index c397f4b9f0..2fbea8f53e 100644
 --- a/packages/material-ui/src/Breadcrumbs/Breadcrumbs.test.js
 +++ b/packages/material-ui/src/Breadcrumbs/Breadcrumbs.test.js
 @@ -100,7 +100,6 @@ describe('<Breadcrumbs />', () => {

diff --git a/babel.config.js b/babel.config.js
index 162d469804..f4b17916a4 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -45,7 +45,16 @@ const productionPlugins = [
 ];
 
 module.exports = {

         'Material-UI: The `getOptionLabel` method of Autocomplete returned undefined instead of a string',
         'Material-UI: The `getOptionLabel` method of Autocomplete returned undefined instead of a string',
         'Material-UI: The `getOptionLabel` method of Autocomplete returned undefined instead of a string',
@@ -1229,9 +1227,6 @@ describe('<Autocomplete />', () => {
           />,
         );
       }).toWarnDev([
