From 73c75807992d64e1623cc776f86fc3d1f0c74cb8 Mon Sep 17 00:00:00 2001 From: zkldi Date: Thu, 13 May 2021 08:10:15 +0100 Subject: [PATCH] thanks mr lint --- .../src/score-import/framework/score-importing/score-id.test.ts | 2 +- .../import-types/common/batch-manual/converter.test.ts | 2 +- .../import-types/common/batch-manual/parser.test.ts | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/server/src/score-import/framework/score-importing/score-id.test.ts b/server/src/score-import/framework/score-importing/score-id.test.ts index 1bf8f7f36..ac61753e1 100644 --- a/server/src/score-import/framework/score-importing/score-id.test.ts +++ b/server/src/score-import/framework/score-importing/score-id.test.ts @@ -1,6 +1,6 @@ import { ScoreDocument } from "kamaitachi-common"; import t from "tap"; -import db, { CloseMongoConnection } from "../../../db/db"; +import { CloseMongoConnection } from "../../../db/db"; import ResetDBState from "../../../test-utils/reset-db-state"; import { Testing511SPA, TestingIIDXSPDryScore } from "../../../test-utils/test-data"; import { CreateScoreID, GetWithScoreID } from "./score-id"; diff --git a/server/src/score-import/import-types/common/batch-manual/converter.test.ts b/server/src/score-import/import-types/common/batch-manual/converter.test.ts index 73b0ed1df..f2519dc1a 100644 --- a/server/src/score-import/import-types/common/batch-manual/converter.test.ts +++ b/server/src/score-import/import-types/common/batch-manual/converter.test.ts @@ -344,7 +344,7 @@ t.test("#ConverterFn", (t) => { t.end(); }); - t.test("Should reject a score with > 100%", async (t) => { + t.test("Should reject a score with > 100%", (t) => { t.rejects( () => ConverterFn( diff --git a/server/src/score-import/import-types/common/batch-manual/parser.test.ts b/server/src/score-import/import-types/common/batch-manual/parser.test.ts index a7d2f69a3..75b43f84c 100644 --- a/server/src/score-import/import-types/common/batch-manual/parser.test.ts +++ b/server/src/score-import/import-types/common/batch-manual/parser.test.ts @@ -30,6 +30,7 @@ const baseBatchManualScore = { difficulty: "ANOTHER", }; +// eslint-disable-next-line @typescript-eslint/no-explicit-any function dm(sc: any) { return deepmerge( baseBatchManual,