This commit is contained in:
ogerly 2021-08-11 17:54:40 +02:00
parent f6006cae35
commit 8e1014af7e

View File

@ -119,15 +119,15 @@ describe('GddTransactionList', () => {
}) })
it('shows the message of the transaction', () => { it('shows the message of the transaction', () => {
expect(transaction.findAll('div').at(5).text()).toContain('Alles Gute zum Geburtstag') expect(transaction.findAll('div').at(4).text()).toContain('Alles Gute zum Geburtstag')
}) })
it('shows the date of the transaction', () => { it('shows the date of the transaction', () => {
expect(transaction.findAll('div').at(8).text()).toContain('Tue May 25 2021') expect(transaction.findAll('div').at(9).text()).toContain('Tue May 25 2021')
}) })
it('shows the decay calculation', () => { it('shows the decay calculation', () => {
expect(transaction.findAll('div').at(9).text()).toContain('-0.5') expect(transaction.findAll('div').at(10).text()).toContain('-0.5')
}) })
}) })