fix issues in core

This commit is contained in:
2025-12-23 14:43:49 +01:00
parent 11492d1ff2
commit df5c20c5cc
62 changed files with 480 additions and 334 deletions

View File

@@ -93,7 +93,7 @@ describe('GetAllRacesPageDataUseCase', () => {
expect(result.unwrap()).toBeUndefined();
expect(output.present).toHaveBeenCalledTimes(1);
const presented = output.present.mock.calls[0][0] as GetAllRacesPageDataResult;
const presented = output.present.mock.calls[0]?.[0] as GetAllRacesPageDataResult;
expect(presented.races).toEqual([
{
@@ -150,7 +150,7 @@ describe('GetAllRacesPageDataUseCase', () => {
expect(result.unwrap()).toBeUndefined();
expect(output.present).toHaveBeenCalledTimes(1);
const presented = output.present.mock.calls[0][0] as GetAllRacesPageDataResult;
const presented = output.present.mock.calls[0]?.[0] as GetAllRacesPageDataResult;
expect(presented.races).toEqual([]);
expect(presented.filters).toEqual({