From dd5fc52e1ee4f168ac1d329d04ea054e840d51c1 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Sun, 16 Oct 2022 22:01:14 +0100 Subject: [PATCH] fix: make tests pass --- .../import-types/common/batch-manual/converter.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/src/lib/score-import/import-types/common/batch-manual/converter.test.ts b/server/src/lib/score-import/import-types/common/batch-manual/converter.test.ts index c9ee1cf1b..65694fe50 100644 --- a/server/src/lib/score-import/import-types/common/batch-manual/converter.test.ts +++ b/server/src/lib/score-import/import-types/common/batch-manual/converter.test.ts @@ -119,7 +119,7 @@ t.test("#ResolveMatchTypeToKTData", (t) => { lamp: "CLEAR", score: 9_000_001, }, - context, + { game: "sdvx", playtype: "Single", service: "foo", version: null }, importType, logger ); @@ -140,11 +140,11 @@ t.test("#ResolveMatchTypeToKTData", (t) => { lamp: "CLEAR", score: 9_000_001, }, - context, + { game: "sdvx", playtype: "Single", service: "foo", version: null }, importType, logger ), - ktdWrap("Cannot find SDVX chart with inGameID 9999999") + ktdWrap("Cannot find SDVX chart with inGameID 9999999", "sdvx") ); t.end(); @@ -169,7 +169,7 @@ t.test("#ResolveMatchTypeToKTData", (t) => { lamp: "CLEAR", score: 9_000_001, }, - context, + { game: "sdvx", playtype: "Single", service: "foo", version: null }, importType, logger );