fix issues

This commit is contained in:
2025-12-26 11:49:20 +01:00
parent d08ec10b40
commit 68ae9da22a
44 changed files with 505 additions and 179 deletions

View File

@@ -133,7 +133,8 @@ describe('RaceDetailPage - Re-open Race behavior', () => {
renderWithQueryClient(<RaceDetailPage />);
const reopenButton = await screen.findByText('Re-open Race');
const reopenButtons = await screen.findAllByText('Re-open Race');
const reopenButton = reopenButtons[0]!;
expect(reopenButton).toBeInTheDocument();
mockReopenRace.mockResolvedValue(undefined);