/
githubmirror
/
material-ui
Обзор
Документация
Войти
/
githubmirror
/
material-ui
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
packages/mui-lab/src/index.test.js
19 строк
574 B
Olivier Tassinari
[core] Import new line convention (#33068)
09 июн 2022, 21:50
Не верифицирован
09 июн 2022, 21:50
05daa0e
Код
Авторство
О чём код?
/* 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('@mui/lab', () => { 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]), `${exportKey} is not truthy`).to.equal(true), ); }); });