Update frontend/src/views/Layout/DashboardLayout_gdd.spec.js

Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
This commit is contained in:
Alexander Friedland 2021-10-14 10:09:40 +02:00 committed by GitHub
parent 35af053f19
commit d64055a78f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,7 +110,7 @@ describe('DashboardLayoutGdd', () => {
expect(navbar.findAll('ul > a').at(2).text()).toEqual('transactions')
})
it('has three item "transactions" linked to transactions in navbar', async () => {
it('has third item "transactions" linked to transactions in navbar', async () => {
navbar.findAll('ul > a').at(2).trigger('click')
expect(wrapper.findAll('a').at(5).attributes('href')).toBe('/transactions')
})