Adding missing packege
[aai/sparky-fe.git] / test / input / ToggleInput.test.js
1 import React from 'react';
2 import { mount } from 'enzyme';
3
4 import ToggleInput from 'generic-components/input/ToggleInput.jsx';
5
6 describe('ToggleInput Tests', () => {
7   it('render toggle input - visible', () => {
8     const toggle = mount( <ToggleInput /> );
9     expect(toggle).toHaveLength(1); // ensure the message bar is mounted
10     expect(toggle.find('input')).toHaveLength(1); // ensure the InlineMessage is mounted
11   });
12 })