mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
test update of transactoin link count
This commit is contained in:
parent
fde2a7f7bf
commit
f53bc38eb6
@ -155,6 +155,7 @@ describe('DashboardLayoutGdd', () => {
|
|||||||
transactionList: {
|
transactionList: {
|
||||||
balanceGDT: 100,
|
balanceGDT: 100,
|
||||||
count: 4,
|
count: 4,
|
||||||
|
linkCount: 8,
|
||||||
balance: 1450,
|
balance: 1450,
|
||||||
decay: 1250,
|
decay: 1250,
|
||||||
transactions: ['transaction', 'transaction', 'transaction', 'transaction'],
|
transactions: ['transaction', 'transaction', 'transaction', 'transaction'],
|
||||||
@ -198,6 +199,10 @@ describe('DashboardLayoutGdd', () => {
|
|||||||
it('updates transaction count', () => {
|
it('updates transaction count', () => {
|
||||||
expect(wrapper.vm.transactionCount).toBe(4)
|
expect(wrapper.vm.transactionCount).toBe(4)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
it('updates transaction link count', () => {
|
||||||
|
expect(wrapper.vm.transactionLinkCount).toBe(8)
|
||||||
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('update transactions returns error', () => {
|
describe('update transactions returns error', () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user