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