1 import React from 'react';
2 import { mount } from 'enzyme';
3 import Select from 'react-select';
5 import SelectInput from 'generic-components/input/SelectInput.jsx';
7 describe('SelectInput Tests', () => {
8 it('render select input - visible', () => {
9 const select = mount( <SelectInput /> );
10 expect(select).toHaveLength(1); // ensure the message bar is mounted
11 expect(select.find(Select)).toHaveLength(1); // ensure the InlineMessage is mounted