mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
move describe block
This commit is contained in:
parent
94f0963313
commit
2e88ac3cb9
@ -427,21 +427,21 @@ describe('CreationConfirm', () => {
|
|||||||
statusFilter: ['IN_PROGRESS', 'PENDING', 'CONFIRMED', 'DENIED', 'DELETED'],
|
statusFilter: ['IN_PROGRESS', 'PENDING', 'CONFIRMED', 'DENIED', 'DELETED'],
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
describe('click tab "open" again', () => {
|
describe('click tab "open" again', () => {
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
jest.clearAllMocks()
|
jest.clearAllMocks()
|
||||||
await wrapper.find('a[data-test="open"]').trigger('click')
|
await wrapper.find('a[data-test="open"]').trigger('click')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('refetches contributions with proper filter and current page = 1', () => {
|
it('refetches contributions with proper filter and current page = 1', () => {
|
||||||
expect(adminListContributionsMock).toBeCalledWith({
|
expect(adminListContributionsMock).toBeCalledWith({
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
order: 'DESC',
|
order: 'DESC',
|
||||||
pageSize: 25,
|
pageSize: 25,
|
||||||
statusFilter: ['IN_PROGRESS', 'PENDING'],
|
statusFilter: ['IN_PROGRESS', 'PENDING'],
|
||||||
|
})
|
||||||
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user