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
c01a94aa24
commit
cb058adde6
@ -47,7 +47,8 @@ describe('TransactionLinkSummary', () => {
|
||||
beforeEach(() => {
|
||||
apolloQueryMock.mockResolvedValue({
|
||||
data: {
|
||||
listTransactionLinks: [
|
||||
listTransactionLinks: {
|
||||
links: [
|
||||
{
|
||||
amount: '75',
|
||||
link: 'http://localhost/redeem/ce28664b5308c17f931c0367',
|
||||
@ -93,6 +94,7 @@ describe('TransactionLinkSummary', () => {
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
wrapper = Wrapper()
|
||||
@ -166,7 +168,8 @@ describe('TransactionLinkSummary', () => {
|
||||
jest.clearAllMocks()
|
||||
apolloQueryMock.mockResolvedValue({
|
||||
data: {
|
||||
listTransactionLinks: [
|
||||
listTransactionLinks: {
|
||||
links: [
|
||||
{
|
||||
amount: '76',
|
||||
link: 'http://localhost/redeem/ce28664b5308c17f931c0367',
|
||||
@ -212,6 +215,7 @@ describe('TransactionLinkSummary', () => {
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
})
|
||||
await wrapper.setData({
|
||||
currentPage: 2,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user