From 637d029101aceba4d7ef40a5315c371f8f69a349 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Mon, 5 Jan 2026 15:55:55 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20null=20=EC=B2=B4=ED=81=AC=EB=A5=BC=20?= =?UTF-8?q?=EC=9C=84=ED=95=9C=20=EB=8B=A8=EC=96=B8=20=EC=97=B0=EC=82=B0?= =?UTF-8?q?=EC=9E=90=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/logic/test/specialActions.test.ts | 4 ++-- packages/logic/test/warEngine.test.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/logic/test/specialActions.test.ts b/packages/logic/test/specialActions.test.ts index c80128e8..217322c1 100644 --- a/packages/logic/test/specialActions.test.ts +++ b/packages/logic/test/specialActions.test.ts @@ -260,7 +260,7 @@ describe('trait modules', () => { const rng = new RandUtil(new ConstantRNG(0)); const config = buildConfig(); const unitSet = buildUnitSet(); - const crewType = new WarCrewType(unitSet.crewTypes![0]); + const crewType = new WarCrewType(unitSet.crewTypes![0]!); const city = buildCity(); const nation = buildNation(); const general = buildGeneral({ @@ -294,7 +294,7 @@ describe('trait modules', () => { config, city, nation, - new WarCrewType(unitSet.crewTypes![1]), + new WarCrewType(unitSet.crewTypes![1]!), new ActionLogger({}), 200, 180 diff --git a/packages/logic/test/warEngine.test.ts b/packages/logic/test/warEngine.test.ts index 1ee34790..b0bbdb40 100644 --- a/packages/logic/test/warEngine.test.ts +++ b/packages/logic/test/warEngine.test.ts @@ -161,7 +161,7 @@ describe('war triggers', () => { it('activates and applies critical damage', async () => { const rng = new RandUtil(new ConstantRNG(0)); const config = buildConfig(); - const crewType = new WarCrewType(buildUnitSet().crewTypes![0]); + const crewType = new WarCrewType(buildUnitSet().crewTypes![0]!); const nation = buildNation(); const city = buildCity(); @@ -181,7 +181,7 @@ describe('war triggers', () => { config, city, nation, - new WarCrewType(buildUnitSet().crewTypes![1]), + new WarCrewType(buildUnitSet().crewTypes![1]!), new ActionLogger({}), 200, 180