fix issues
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user