From 360d6c6f5fb57c4374df2b9d9fdb90e1a4c3a44f Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Sun, 6 Nov 2022 00:36:58 +0000 Subject: [PATCH] test: fix whoops --- .../framework/score-import.test.ts | 34 ++++++++----------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/server/src/lib/score-import/framework/score-import.test.ts b/server/src/lib/score-import/framework/score-import.test.ts index 3d0a0c293..7e6d3d55a 100644 --- a/server/src/lib/score-import/framework/score-import.test.ts +++ b/server/src/lib/score-import/framework/score-import.test.ts @@ -37,26 +37,20 @@ t.test("#MakeScoreImport", (t) => { t.strictSame( cdnRes, - { - importID: "mockImportID", - importType: "ir/direct-manual", - parserArguments: [ - { - meta: { game: "iidx", playtype: "SP", service: "foobar" }, - scores: [ - { - score: 500, - lamp: "HARD CLEAR", - matchType: "songTitle", - identifier: "5.1.1.", - difficulty: "ANOTHER", - }, - ], - }, - ], - userID: 1, - userIntent: true, - }, + [ + { + meta: { game: "iidx", playtype: "SP", service: "foobar" }, + scores: [ + { + score: 500, + lamp: "HARD CLEAR", + matchType: "songTitle", + identifier: "5.1.1.", + difficulty: "ANOTHER", + }, + ], + }, + ], "Should store import-input on the CDN." ); } catch (err) {