From 87e6a6fc2ac69a5b01cdfacec21a2e06ec684163 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Sun, 7 Apr 2024 20:12:17 +0100 Subject: [PATCH] fix: latent bad test --- server/src/server/router/api/v1/config/router.test.ts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/server/src/server/router/api/v1/config/router.test.ts b/server/src/server/router/api/v1/config/router.test.ts index e9a9ca060..fd9c71ae2 100644 --- a/server/src/server/router/api/v1/config/router.test.ts +++ b/server/src/server/router/api/v1/config/router.test.ts @@ -5,16 +5,7 @@ import mockApi from "test-utils/mock-api"; t.test("GET /api/v1/config", async (t) => { const res = await mockApi.get("/api/v1/config"); - t.strictSame( - res.body.body, - { - games: TachiConfig.GAMES, - importTypes: TachiConfig.IMPORT_TYPES, - name: TachiConfig.NAME, - type: TachiConfig.TYPE, - }, - "Should return TachiConfig info" - ); + t.strictSame(res.body.body, TachiConfig, "Should return TachiConfig info"); t.end(); });