fix issues in core
This commit is contained in:
@@ -74,6 +74,7 @@ describe('GetLeagueWalletUseCase', () => {
|
||||
amount: Money.create(1200, 'USD'),
|
||||
description: 'Main Sponsor - TechCorp',
|
||||
metadata: {},
|
||||
completedAt: undefined,
|
||||
}).complete();
|
||||
|
||||
const membershipTx = Transaction.create({
|
||||
@@ -83,6 +84,7 @@ describe('GetLeagueWalletUseCase', () => {
|
||||
amount: Money.create(1600, 'USD'),
|
||||
description: 'Season Fee - 32 drivers',
|
||||
metadata: {},
|
||||
completedAt: undefined,
|
||||
}).complete();
|
||||
|
||||
const withdrawalTx = Transaction.create({
|
||||
@@ -92,6 +94,7 @@ describe('GetLeagueWalletUseCase', () => {
|
||||
amount: Money.create(430, 'USD'),
|
||||
description: 'Bank Transfer - Season 1 Payout',
|
||||
metadata: {},
|
||||
completedAt: undefined,
|
||||
}).complete();
|
||||
|
||||
const pendingPrizeTx = Transaction.create({
|
||||
@@ -101,6 +104,7 @@ describe('GetLeagueWalletUseCase', () => {
|
||||
amount: Money.create(150, 'USD'),
|
||||
description: 'Championship Prize Pool (reserved)',
|
||||
metadata: {},
|
||||
completedAt: undefined,
|
||||
});
|
||||
|
||||
const refundTx = Transaction.create({
|
||||
@@ -110,6 +114,7 @@ describe('GetLeagueWalletUseCase', () => {
|
||||
amount: Money.create(100, 'USD'),
|
||||
description: 'Refund for cancelled sponsorship',
|
||||
metadata: {},
|
||||
completedAt: undefined,
|
||||
});
|
||||
|
||||
const transactions = [
|
||||
|
||||
Reference in New Issue
Block a user