diff options
author | Adam Wudzinski <adam.wudzinski@nokia.com> | 2019-03-26 16:47:06 +0100 |
---|---|---|
committer | awudzins <adam.wudzinski@nokia.com> | 2019-03-26 16:47:06 +0100 |
commit | b0f2f345cc2d1cc3812ad8a06fc1898daf5842d0 (patch) | |
tree | e6022e92e026a02912548e313ff2a02b5c27ddec /test/input | |
parent | b2c7546f9027099161aeaf5791f1d0f3a52b92d2 (diff) |
Remove unused code
Remove unsed code from generic-components and change tests directory structure to reflect src structure
Change-Id: Iada2efb0f7cfb05557eb7cd709b8a0ed75976b03
Issue-ID: AAI-1618
Signed-off-by: awudzins <adam.wudzinski@nokia.com>
Diffstat (limited to 'test/input')
-rw-r--r-- | test/input/SelectInput.test.js | 13 | ||||
-rw-r--r-- | test/input/ToggleInput.test.js | 12 |
2 files changed, 0 insertions, 25 deletions
diff --git a/test/input/SelectInput.test.js b/test/input/SelectInput.test.js deleted file mode 100644 index a669361..0000000 --- a/test/input/SelectInput.test.js +++ /dev/null @@ -1,13 +0,0 @@ -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 - }); -}) diff --git a/test/input/ToggleInput.test.js b/test/input/ToggleInput.test.js deleted file mode 100644 index 80f0345..0000000 --- a/test/input/ToggleInput.test.js +++ /dev/null @@ -1,12 +0,0 @@ -import React from 'react'; -import { mount } from 'enzyme'; - -import ToggleInput from 'generic-components/input/ToggleInput.jsx'; - -describe('ToggleInput Tests', () => { - it('render toggle input - visible', () => { - const toggle = mount( <ToggleInput /> ); - expect(toggle).toHaveLength(1); // ensure the message bar is mounted - expect(toggle.find('input')).toHaveLength(1); // ensure the InlineMessage is mounted - }); -}) |