forgeplus-react/node_modules/material-ui/es/index.test.js

19 lines
609 B
JavaScript

import _Object$keys from "@babel/runtime/core-js/object/keys";
// weak
/* eslint import/namespace: ['error', { allowComputed: true }] */
/**
* Important: This test also serves as a point to
* import the entire lib for coverage reporting
*/
import { assert } from 'chai';
import * as MaterialUI from './index';
describe('material-ui', () => {
it('should have exports', () => {
assert.strictEqual(typeof MaterialUI, 'object');
});
it('should not do undefined exports', () => {
_Object$keys(MaterialUI).forEach(exportKey => assert.strictEqual(Boolean(MaterialUI[exportKey]), true));
});
});