mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix tests
This commit is contained in:
parent
e695046677
commit
f04f05778b
@ -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(6).text()).toContain('Alles Gute zum Geburtstag')
|
expect(transaction.findAll('div').at(5).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(9).text()).toContain('Tue May 25 2021')
|
expect(transaction.findAll('div').at(8).text()).toContain('Tue May 25 2021')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('shows the decay calculation', () => {
|
it('shows the decay calculation', () => {
|
||||||
expect(transaction.findAll('div').at(10).text()).toContain('-0.5')
|
expect(transaction.findAll('div').at(9).text()).toContain('-0.5')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@ -24,10 +24,7 @@
|
|||||||
{{ $t('form.memo') }}
|
{{ $t('form.memo') }}
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="date" class="text-sm">
|
<div v-if="decay" class="text-sm">
|
||||||
{{ $t('form.date') }}
|
|
||||||
</div>
|
|
||||||
<div v-if="decay" class="pt-2">
|
|
||||||
<b-icon v-if="type != 'decay'" icon="droplet-half" height="15" class="mb-3" />
|
<b-icon v-if="type != 'decay'" icon="droplet-half" height="15" class="mb-3" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user