From 85424c6611855de2c01bc1e95c2e71657b497c68 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Mon, 17 May 2021 16:24:35 +0200 Subject: [PATCH] fix test naming, removed unused async --- frontend/src/components/SidebarPlugin/SideBar.spec.js | 2 +- frontend/src/store/store.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/SidebarPlugin/SideBar.spec.js b/frontend/src/components/SidebarPlugin/SideBar.spec.js index 30f1193cd..9f9ce8a8f 100644 --- a/frontend/src/components/SidebarPlugin/SideBar.spec.js +++ b/frontend/src/components/SidebarPlugin/SideBar.spec.js @@ -94,7 +94,7 @@ describe('SideBar', () => { mocks.$i18n.locale = 'de' }) - it('links to the German elopage when locale is set to de', async () => { + it('links to the German elopage when locale is set to de', () => { expect(wrapper.findAll('li').at(0).find('a').attributes('href')).toBe( 'https://elopage.com/s/gradido/sign_in?locale=de', ) diff --git a/frontend/src/store/store.test.js b/frontend/src/store/store.test.js index cc88c719e..11dd5949b 100644 --- a/frontend/src/store/store.test.js +++ b/frontend/src/store/store.test.js @@ -35,7 +35,7 @@ describe('Vuex store', () => { const commit = jest.fn() const state = {} - it('calls two commits', () => { + it('calls three commits', () => { login( { commit, state }, { sessionId: 1234, user: { email: 'someone@there.is', language: 'en' } },