yarn test fixed

This commit is contained in:
ogerly 2022-03-06 12:00:38 +01:00
parent 25b1a5a83e
commit 8618d7894e

View File

@ -9,41 +9,25 @@ const apolloQueryMock = jest.fn().mockResolvedValue({
transactionList: { transactionList: {
transactions: [ transactions: [
{ {
type: 'creation', id: 1,
balance: 100, amount: 100,
decayStart: 0, balanceDate: 0,
decayEnd: 0, creationDate: new Date(),
decayDuration: 0,
memo: 'Testing', memo: 'Testing',
transactionId: 1, linkedUser: {
name: 'Gradido Akademie', firstName: 'Gradido',
email: 'bibi@bloxberg.de', lastName: 'Akademie',
date: new Date(),
decay: {
balance: 0.01,
decayStart: 0,
decayEnd: 0,
decayDuration: 0,
decayStartBlock: 0,
}, },
}, },
{ {
type: 'creation', id: 2,
balance: 200, amount: 200,
decayStart: 0, balanceDate: 0,
decayEnd: 0, creationDate: new Date(),
decayDuration: 0,
memo: 'Testing 2', memo: 'Testing 2',
transactionId: 2, linkedUser: {
name: 'Gradido Akademie', firstName: 'Gradido',
email: 'bibi@bloxberg.de', lastName: 'Akademie',
date: new Date(),
decay: {
balance: 0.01,
decayStart: 0,
decayEnd: 0,
decayDuration: 0,
decayStartBlock: 0,
}, },
}, },
], ],