fix: add test coverage for crafting-utils, pact-utils, and activity-log

This commit is contained in:
2026-05-22 14:39:27 +02:00
parent 49f8de01ca
commit ca1709006f
21 changed files with 1963 additions and 25 deletions
+3 -3
View File
@@ -131,7 +131,7 @@ export function generateSpireFloorState(floor: number, roomIndex: number, totalR
enemies: [],
recoveryProgress: 0,
recoveryRequired: 1,
} as unknown as FloorState;
};
case 'library':
return {
@@ -139,13 +139,13 @@ export function generateSpireFloorState(floor: number, roomIndex: number, totalR
enemies: [],
libraryProgress: 0,
libraryRequired: 1,
} as unknown as FloorState;
};
case 'treasure':
return {
roomType: 'treasure',
enemies: [],
} as unknown as FloorState;
};
default:
return generateCombatRoom(floor, element, baseHP);