mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
raise coverage eliminate warnings
This commit is contained in:
parent
1c8a9efc50
commit
218ad21e4f
@ -116,5 +116,15 @@ describe('ContributionList', () => {
|
|||||||
expect(wrapper.emitted('delete-contribution')).toEqual([[{ id: 2 }]])
|
expect(wrapper.emitted('delete-contribution')).toEqual([[{ id: 2 }]])
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
describe('update status', () => {
|
||||||
|
beforeEach(() => {
|
||||||
|
wrapper.findComponent({ name: 'ContributionListItem' }).vm.$emit('update-state', { id: 2 })
|
||||||
|
})
|
||||||
|
|
||||||
|
it('emits update status', () => {
|
||||||
|
expect(wrapper.emitted('update-state')).toEqual([[{ id: 2 }]])
|
||||||
|
})
|
||||||
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
@ -70,6 +70,8 @@ describe('Community', () => {
|
|||||||
lastName: 'Bloxberg',
|
lastName: 'Bloxberg',
|
||||||
state: 'IN_PROGRESS',
|
state: 'IN_PROGRESS',
|
||||||
messagesCount: 0,
|
messagesCount: 0,
|
||||||
|
deniedAt: null,
|
||||||
|
deniedBy: null,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 1550,
|
id: 1550,
|
||||||
@ -84,6 +86,8 @@ describe('Community', () => {
|
|||||||
lastName: 'Bloxberg',
|
lastName: 'Bloxberg',
|
||||||
state: 'CONFIRMED',
|
state: 'CONFIRMED',
|
||||||
messagesCount: 0,
|
messagesCount: 0,
|
||||||
|
deniedAt: null,
|
||||||
|
deniedBy: null,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
contributionCount: 1,
|
contributionCount: 1,
|
||||||
@ -112,6 +116,10 @@ describe('Community', () => {
|
|||||||
confirmedAt: null,
|
confirmedAt: null,
|
||||||
firstName: 'Bibi',
|
firstName: 'Bibi',
|
||||||
lastName: 'Bloxberg',
|
lastName: 'Bloxberg',
|
||||||
|
deniedAt: null,
|
||||||
|
deniedBy: null,
|
||||||
|
messagesCount: 0,
|
||||||
|
state: 'IN_PROGRESS',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 1550,
|
id: 1550,
|
||||||
@ -124,7 +132,10 @@ describe('Community', () => {
|
|||||||
firstName: 'Bibi',
|
firstName: 'Bibi',
|
||||||
contributionDate: '2022-06-15T08:47:06.000Z',
|
contributionDate: '2022-06-15T08:47:06.000Z',
|
||||||
lastName: 'Bloxberg',
|
lastName: 'Bloxberg',
|
||||||
|
deniedAt: null,
|
||||||
|
deniedBy: null,
|
||||||
messagesCount: 0,
|
messagesCount: 0,
|
||||||
|
state: 'IN_PROGRESS',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 1556,
|
id: 1556,
|
||||||
@ -137,6 +148,10 @@ describe('Community', () => {
|
|||||||
confirmedAt: null,
|
confirmedAt: null,
|
||||||
firstName: 'Bob',
|
firstName: 'Bob',
|
||||||
lastName: 'der Baumeister',
|
lastName: 'der Baumeister',
|
||||||
|
deniedAt: null,
|
||||||
|
deniedBy: null,
|
||||||
|
messagesCount: 0,
|
||||||
|
state: 'IN_PROGRESS',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
contributionCount: 3,
|
contributionCount: 3,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user