mirror of
https://github.com/yldio/copilot.git
synced 2024-11-10 21:30:06 +02:00
<Select> non-exploding test
This commit is contained in:
parent
ebefc42d53
commit
cc0c7896ea
@ -10,7 +10,7 @@ module.exports = {
|
||||
Tabs: require('./components/tabs'),
|
||||
Toggle: require('./components/toggle'),
|
||||
Input: require('./components/input'),
|
||||
RangeSlider: require('./components/range-slider/'),
|
||||
RangeSlider: require('./components/range-slider'),
|
||||
Radio: require('./components/radio'),
|
||||
RadioGroup: require('./components/radio-group'),
|
||||
Select: require('./components/select'),
|
||||
|
@ -97,7 +97,13 @@ test('renders <Input> without exploding', (t) => {
|
||||
});
|
||||
|
||||
test('renders <RangeSlider> without exploding', (t) => {
|
||||
const Input = require('../src/components/range-slider');
|
||||
const wrapper = shallow(<Input />);
|
||||
const RangeSlider = require('../src/components/range-slider');
|
||||
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);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user