From e5986ac6cf9c460023fea4386763c2b0f645998c Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sun, 26 Aug 2018 20:17:40 +0200 Subject: [PATCH] Fixed coding styles --- test/App.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/App.test.js b/test/App.test.js index 2121f547..63b6cdc8 100644 --- a/test/App.test.js +++ b/test/App.test.js @@ -17,10 +17,11 @@ describe('', () => { it('renders app main routes', () => { const routes = wrapper.find(Route); const expectedRoutesCount = 3; + const second = 2; expect(routes).toHaveLength(expectedRoutesCount); expect(routes.at(0).prop('path')).toEqual('/server/create'); expect(routes.at(1).prop('path')).toEqual('/'); - expect(routes.at(2).prop('path')).toEqual('/server/:serverId'); + expect(routes.at(second).prop('path')).toEqual('/server/:serverId'); }); });