<Select> non-exploding test
This commit is contained in:
parent
ebefc42d53
commit
cc0c7896ea
@ -10,7 +10,7 @@ module.exports = {
|
|||||||
Tabs: require('./components/tabs'),
|
Tabs: require('./components/tabs'),
|
||||||
Toggle: require('./components/toggle'),
|
Toggle: require('./components/toggle'),
|
||||||
Input: require('./components/input'),
|
Input: require('./components/input'),
|
||||||
RangeSlider: require('./components/range-slider/'),
|
RangeSlider: require('./components/range-slider'),
|
||||||
Radio: require('./components/radio'),
|
Radio: require('./components/radio'),
|
||||||
RadioGroup: require('./components/radio-group'),
|
RadioGroup: require('./components/radio-group'),
|
||||||
Select: require('./components/select'),
|
Select: require('./components/select'),
|
||||||
|
@ -97,7 +97,13 @@ test('renders <Input> without exploding', (t) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test('renders <RangeSlider> without exploding', (t) => {
|
test('renders <RangeSlider> without exploding', (t) => {
|
||||||
const Input = require('../src/components/range-slider');
|
const RangeSlider = require('../src/components/range-slider');
|
||||||
const wrapper = shallow(<Input />);
|
const wrapper = shallow(<RangeSlider />);
|
||||||
|
t.deepEqual(wrapper.length, 1);
|
||||||
|
});
|
||||||
|
|
||||||
|
test('renders <Select> without exploding', (t) => {
|
||||||
|
const Select = require('../src/components/select');
|
||||||
|
const wrapper = shallow(<Select />);
|
||||||
t.deepEqual(wrapper.length, 1);
|
t.deepEqual(wrapper.length, 1);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user