diff --git a/ui/src/index.js b/ui/src/index.js index 52c6faa6..d363abea 100644 --- a/ui/src/index.js +++ b/ui/src/index.js @@ -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'), diff --git a/ui/test/index.js b/ui/test/index.js index 5e684dac..5919baf8 100644 --- a/ui/test/index.js +++ b/ui/test/index.js @@ -97,7 +97,13 @@ test('renders without exploding', (t) => { }); test('renders without exploding', (t) => { - const Input = require('../src/components/range-slider'); - const wrapper = shallow(); + const RangeSlider = require('../src/components/range-slider'); + const wrapper = shallow(); + t.deepEqual(wrapper.length, 1); +}); + +test('renders ); t.deepEqual(wrapper.length, 1); });