From d46b87a4db0937aff60bf66ca4ef0dd20ff17773 Mon Sep 17 00:00:00 2001 From: ogerly Date: Fri, 21 May 2021 14:22:54 +0200 Subject: [PATCH] yarn lint fix --- .../src/views/Layout/DashboardLayout_gdd.spec.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/src/views/Layout/DashboardLayout_gdd.spec.js b/frontend/src/views/Layout/DashboardLayout_gdd.spec.js index a80c11ad7..62ce94322 100644 --- a/frontend/src/views/Layout/DashboardLayout_gdd.spec.js +++ b/frontend/src/views/Layout/DashboardLayout_gdd.spec.js @@ -103,21 +103,21 @@ describe('DashboardLayoutGdd', () => { expect(wrapper.findComponent(RouterLinkStub).props().to).toBe('/transactions') }) - it('has tree items in the navbar', () => { + it('has tree items in the navbar', () => { expect(navbar.findAll('ul > a')).toHaveLength(3) - }) - - it('has third item "My profile" in navbar', () => { + }) + + it('has third item "My profile" in navbar', () => { expect(navbar.findAll('ul > a').at(2).text()).toEqual('site.navbar.my-profil') - }) - - it.skip('has third item "My profile" linked to profile in navbar', async () => { + }) + + it.skip('has third item "My profile" linked to profile in navbar', async () => { navbar.findAll('ul > a').at(2).trigger('click') await flushPromises() await jest.runAllTimers() await flushPromises() expect(wrapper.findComponent(RouterLinkStub).props().to).toBe('/profile') - }) + }) // it('has fourth item "Settigs" in navbar', () => { // expect(navbar.findAll('ul > li').at(3).text()).toEqual('site.navbar.settings')