website refactor
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
import { describe, it, expect, beforeEach, vi, type Mock } from 'vitest';
|
||||
import {
|
||||
GetLeagueWalletUseCase,
|
||||
type GetLeagueWalletInput,
|
||||
type GetLeagueWalletErrorCode,
|
||||
} from './GetLeagueWalletUseCase';
|
||||
import type { ApplicationErrorCode } from '@core/shared/errors/ApplicationErrorCode';
|
||||
import { beforeEach, describe, expect, it, vi, type Mock } from 'vitest';
|
||||
import { LeagueWallet } from '../../domain/entities/league-wallet/LeagueWallet';
|
||||
import { LeagueWalletId } from '../../domain/entities/league-wallet/LeagueWalletId';
|
||||
import { Transaction } from '../../domain/entities/league-wallet/Transaction';
|
||||
import { TransactionId } from '../../domain/entities/league-wallet/TransactionId';
|
||||
import type { LeagueRepository } from '../../domain/repositories/LeagueRepository';
|
||||
import type { LeagueWalletRepository } from '../../domain/repositories/LeagueWalletRepository';
|
||||
import type { TransactionRepository } from '../../domain/repositories/TransactionRepository';
|
||||
import { LeagueWallet } from '../../domain/entities/league-wallet/LeagueWallet';
|
||||
import { Money } from '../../domain/value-objects/Money';
|
||||
import { Transaction } from '../../domain/entities/league-wallet/Transaction';
|
||||
import { TransactionId } from '../../domain/entities/league-wallet/TransactionId';
|
||||
import { LeagueWalletId } from '../../domain/entities/league-wallet/LeagueWalletId';
|
||||
import type { ApplicationErrorCode } from '@core/shared/errors/ApplicationErrorCode';
|
||||
import {
|
||||
GetLeagueWalletUseCase,
|
||||
type GetLeagueWalletErrorCode,
|
||||
type GetLeagueWalletInput,
|
||||
} from './GetLeagueWalletUseCase';
|
||||
|
||||
describe('GetLeagueWalletUseCase', () => {
|
||||
let leagueRepository: {
|
||||
|
||||
Reference in New Issue
Block a user