/* eslint import/namespace: ['error', { allowComputed: true }] */
/**
 * Important: This test also serves as a point to
 * import the entire lib for coverage reporting
 */

import { expect } from 'chai';
import * as MaterialUI from './index';

describe('material-ui', () => {
  it('should have exports', () => {
    expect(typeof MaterialUI).to.equal('object');
  });

  it('should not have undefined exports', () => {
    Object.keys(MaterialUI).forEach((exportKey) =>
      expect(Boolean(MaterialUI[exportKey])).to.equal(true),
    );
  });
});

@@ -536,13 +536,480 @@
 );%0A  %7D);
+%0A%0A  it('should reexport certain members from @mui/base', () =%3E %7B%0A    const expectedReexports = %5B%0A      'ClickAwayListener',%0A      'generateUtilityClass',%0A      'generateUtilityClasses',%0A      'NoSsr',%0A      'Portal',%0A      'TextareaAutosize',%0A      'unstable_ClassNameGenerator',%0A      'unstable_composeClasses',%0A    %5D;%0A%0A    const exportedNames = Object.keys(MaterialUI);%0A%0A    expectedReexports.forEach((reexport) =%3E expect(exportedNames).to.contain(reexport));%0A  %7D);
 %0A%7D);%0A

Test if certain Base members are exported from Material UI (#31067)