From e32d1feb19a69c161b7b8635badf2265e2960c35 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Wed, 31 May 2023 22:02:07 +0300 Subject: [PATCH] Fix CI --- app/features/build-analyzer/core/stats.test.ts | 1 + app/features/object-damage-calculator/calculator-constants.ts | 2 ++ app/features/tournament/routes/to.$id.admin.tsx | 1 - app/modules/map-pool-serializer/serializer.test.ts | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/features/build-analyzer/core/stats.test.ts b/app/features/build-analyzer/core/stats.test.ts index 124df1516..171dfdcf9 100644 --- a/app/features/build-analyzer/core/stats.test.ts +++ b/app/features/build-analyzer/core/stats.test.ts @@ -10,6 +10,7 @@ const AnalyzeBuild = suite("Analyze build"); const weaponsWithoutDmg: MainWeaponId[] = [ 1000, 1010, 1020, 1030, 1100, 1110, 7010, 7020, 8000, 8010, /* chill season, */ 1001, 1040, 1101, /* fresh season */ 1011, + /* sizzle season */ 1041, 1120, ]; AnalyzeBuild("Every main weapon has damage", () => { const weaponsWithoutDamage: MainWeaponId[] = []; diff --git a/app/features/object-damage-calculator/calculator-constants.ts b/app/features/object-damage-calculator/calculator-constants.ts index 2bf423376..51267c089 100644 --- a/app/features/object-damage-calculator/calculator-constants.ts +++ b/app/features/object-damage-calculator/calculator-constants.ts @@ -24,6 +24,8 @@ export const objectDamageJsonKeyPriority: Record< keyof typeof objectDamages, Array | null > = { + // added in chill season 2023 + Maneuver_SideStep_BombCore: null, // added in fresh season 2022 BlowerExhale: null, Castle: null, diff --git a/app/features/tournament/routes/to.$id.admin.tsx b/app/features/tournament/routes/to.$id.admin.tsx index fa6244415..fe3d6de58 100644 --- a/app/features/tournament/routes/to.$id.admin.tsx +++ b/app/features/tournament/routes/to.$id.admin.tsx @@ -27,7 +27,6 @@ import { checkOut } from "../queries/checkOut.server"; import hasTournamentStarted from "../queries/hasTournamentStarted.server"; import type { TournamentLoaderData } from "./to.$id"; import { joinTeam, leaveTeam } from "../queries/joinLeaveTeam.server"; -import { TOURNAMENT } from "../tournament-constants"; import { deleteTeam } from "../queries/deleteTeam.server"; import { useUser } from "~/modules/auth"; import { diff --git a/app/modules/map-pool-serializer/serializer.test.ts b/app/modules/map-pool-serializer/serializer.test.ts index a01739326..524103d82 100644 --- a/app/modules/map-pool-serializer/serializer.test.ts +++ b/app/modules/map-pool-serializer/serializer.test.ts @@ -8,7 +8,7 @@ import type { MapPoolObject } from "./types"; const Serializer = suite("Map pool serializer"); -const testSerializedPool = "tw:19980;sz:1d0a0;tc:164c0;rm:15e00;cb:1ce00"; +const testSerializedPool = "tw:66600;sz:74280;tc:59300;rm:57800;cb:73800"; Serializer("Unserializes and then serializes to same result", () => { const mapPool = serializedStringToMapPool(testSerializedPool);