fix test naming, removed unused async

This commit is contained in:
Moriz Wahl 2021-05-17 16:24:35 +02:00
parent f7cae0359e
commit 85424c6611
2 changed files with 2 additions and 2 deletions

View File

@ -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',
)

View File

@ -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' } },