From d241bc50256daa2453a0089e171ada9e6fd97369 Mon Sep 17 00:00:00 2001 From: Diego Sampaio Date: Tue, 22 Aug 2017 15:22:55 -0300 Subject: [PATCH] Add back tests --- __tests__/RoomItem.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/__tests__/RoomItem.js b/__tests__/RoomItem.js index 72cf039c2..1244a4437 100644 --- a/__tests__/RoomItem.js +++ b/__tests__/RoomItem.js @@ -18,3 +18,15 @@ it('render unread', () => { it('render unread +999', () => { expect(renderer.create().toJSON()).toMatchSnapshot(); }); + +it('render no icon', () => { + expect(renderer.create().toJSON()).toMatchSnapshot(); +}); + +it('render private group', () => { + expect(renderer.create( ).toJSON()).toMatchSnapshot(); +}); + +it('render channel', () => { + expect(renderer.create().toJSON()).toMatchSnapshot(); +});