fix failing test in DeletUnitExecution.test.ts by setting delete unit cooldown and duration in setup

This commit is contained in:
evanpelle
2025-11-04 11:28:29 -08:00
parent 91ff1c0e53
commit 8e502f3f26
+3
View File
@@ -67,6 +67,9 @@ describe("DeleteUnitExecution Security Tests", () => {
if (!tileOwner.isPlayer() || tileOwner.id() !== player.id()) {
throw new Error("Unit is not on player's territory");
}
game.config().deleteUnitCooldown = () => 10;
game.config().deletionMarkDuration = () => 10;
});
describe("Security Validations", () => {