UNPKG

materialuiupgraded

Version:

Material-UI's workspace package

19 lines (15 loc) 459 B
import React from 'react'; import { assert } from 'chai'; import { createShallow } from '../test-utils'; import InputBase from '../InputBase'; import Input from './Input'; describe('<Input />', () => { let shallow; before(() => { shallow = createShallow({ untilSelector: 'Input' }); }); it('should render a <div />', () => { const wrapper = shallow(<Input />); assert.strictEqual(wrapper.type(), InputBase); }); });