.
This commit is contained in:
1 parent
c5d296d403
commit
2250b6072e
22 files changed
+1719
-42
No files matched your search
@@ -10,13 +10,24 @@ describe('AuctionService', () => {
|
||||
const enrichmentService = {
|
||||
enrichRiotAccount: jest.fn(),
|
||||
};
|
||||
const tournamentCodeService = {
|
||||
reserveForMatch: jest.fn().mockResolvedValue(undefined),
|
||||
releaseFromMatch: jest.fn().mockResolvedValue(undefined),
|
||||
};
|
||||
const tournamentResultService = {
|
||||
scheduleInitialPoll: jest.fn().mockResolvedValue(null),
|
||||
};
|
||||
|
||||
return {
|
||||
service: new AuctionService(
|
||||
connectionService as never,
|
||||
enrichmentService as never,
|
||||
tournamentCodeService as never,
|
||||
tournamentResultService as never,
|
||||
),
|
||||
connectionService,
|
||||
tournamentCodeService,
|
||||
tournamentResultService,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user