summaryrefslogtreecommitdiffstats
path: root/test/input/SelectInput.test.js
blob: a669361490eaa84561ed29ff156a59f9c0775128 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import React from 'react';
import { mount } from 'enzyme';
import Select from 'react-select';

import SelectInput from 'generic-components/input/SelectInput.jsx';

describe('SelectInput Tests', () => {
  it('render select input - visible', () => {
    const select = mount( <SelectInput /> );
    expect(select).toHaveLength(1); // ensure the message bar is mounted
    expect(select.find(Select)).toHaveLength(1); // ensure the InlineMessage is mounted
  });
})