mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-09 04:36:02 -05:00
Keep tournament showcase cards in sync with tournament page count
This commit is contained in:
@@ -1087,6 +1087,11 @@ export function buildCases(fx: Fixtures): {
|
||||
addStatic("TournamentRepository.findAllForShowcase", () =>
|
||||
TournamentRepository.findAllForShowcase(),
|
||||
);
|
||||
add(
|
||||
"TournamentRepository.findShowcaseCountsById",
|
||||
fx.heavyTournamentId,
|
||||
(tournamentId) => TournamentRepository.findShowcaseCountsById(tournamentId),
|
||||
);
|
||||
add(
|
||||
"TournamentRepository.findAllBetweenTwoTimestamps",
|
||||
fx.calendarWindow,
|
||||
|
||||
Reference in New Issue
Block a user