From 033093033a83594881cea3d3954bb936404bdd7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Fri, 28 Oct 2016 16:59:50 +0100 Subject: [PATCH] add more component tests --- ui/test/index.js | 50 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/ui/test/index.js b/ui/test/index.js index 235ad943..61458643 100644 --- a/ui/test/index.js +++ b/ui/test/index.js @@ -40,4 +40,52 @@ test('renders without exploding', (t) => { const Container = require('../src/components/container'); const wrapper = shallow(); t.deepEqual(wrapper.length, 1); -}); \ No newline at end of file +}); + +test('renders without exploding', (t) => { + const Icon = require('../src/components/icon'); + const wrapper = shallow(); + t.deepEqual(wrapper.length, 1); +}); + +test('renders without exploding', (t) => { + const Radio = require('../src/components/radio'); + const wrapper = shallow(); + t.deepEqual(wrapper.length, 1); +}); + +test('renders without exploding', (t) => { + const RadioGroup = require('../src/components/radio-group'); + const wrapper = shallow(); + t.deepEqual(wrapper.length, 1); +}); + +test('renders without exploding', (t) => { + const Row = require('../src/components/row'); + const wrapper = shallow(); + t.deepEqual(wrapper.length, 1); +}); + +test('renders without exploding', (t) => { + const Tab = require('../src/components/tab'); + const wrapper = shallow(); + t.deepEqual(wrapper.length, 1); +}); + +test('renders without exploding', (t) => { + const Tabs = require('../src/components/tabs'); + const wrapper = shallow(); + t.deepEqual(wrapper.length, 1); +}); + +test('renders without exploding', (t) => { + const Toggle = require('../src/components/toggle'); + const wrapper = shallow(); + t.deepEqual(wrapper.length, 1); +}); + +test('renders without exploding', (t) => { + const Widget = require('../src/components/widget'); + const wrapper = shallow(); + t.deepEqual(wrapper.length, 1); +});