diff --git a/server/src/game-implementations/games/arcaea.test.ts b/server/src/game-implementations/games/arcaea.test.ts index 58421ad8a..30c2f7b99 100644 --- a/server/src/game-implementations/games/arcaea.test.ts +++ b/server/src/game-implementations/games/arcaea.test.ts @@ -8,7 +8,7 @@ import t from "tap"; import { dmf, mkMockPB, mkMockScore } from "test-utils/misc"; import ResetDBState from "test-utils/resets"; import { TestSnapshot } from "test-utils/single-process-snapshot"; -import { TestingArcaeaSheriruthFTR } from "test-utils/test-data"; +import { TestingArcaeaSheriruthFTR, TestingWaccaPupaExp } from "test-utils/test-data"; import type { ProvidedMetrics, ScoreData, ScoreDocument, ChartDocument } from "tachi-common"; import type { DeepPartial } from "utils/types"; @@ -168,10 +168,12 @@ t.test("Arcaea Implementation", (t) => { }); t.test("Score Validations", (t) => { - const f = ( - s: DeepPartial>, - chart: ChartDocument<"arcaea:Touch"> = TestingArcaeaSheriruthFTR - ) => RunValidators(ARCAEA_IMPL.scoreValidators, dmf(mockScore, s), chart); + const f = (s: DeepPartial>) => + RunValidators( + ARCAEA_IMPL.scoreValidators, + dmf(mockScore, s), + TestingArcaeaSheriruthFTR + ); t.strictSame( f({ diff --git a/server/src/game-implementations/games/wacca.test.ts b/server/src/game-implementations/games/wacca.test.ts index 3817bec55..bc2853f65 100644 --- a/server/src/game-implementations/games/wacca.test.ts +++ b/server/src/game-implementations/games/wacca.test.ts @@ -172,7 +172,7 @@ t.test("WACCA Implementation", (t) => { t.test("Score Validations", (t) => { const f = (s: DeepPartial>) => - RunValidators(WACCA_IMPL.scoreValidators, dmf(mockScore, s)); + RunValidators(WACCA_IMPL.scoreValidators, dmf(mockScore, s), TestingWaccaPupaExp); t.strictSame(f({ scoreData: { lamp: "ALL MARVELOUS", score: 1_000_000 } }), undefined); t.strictSame(f({ scoreData: { lamp: "FULL COMBO", judgements: { miss: 0 } } }), undefined);