mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-04 04:48:15 +03:00
fix: make tests work entirely
This commit is contained in:
-2
@@ -89,7 +89,6 @@ t.test("GET /api/v1/users/:userID/games/:game/:playtype/sessions/best", (t) => {
|
||||
desc: null,
|
||||
name: i.toString(),
|
||||
highlight: false,
|
||||
importType: "file/batch-manual",
|
||||
timeEnded: 0,
|
||||
timeInserted: 0,
|
||||
timeStarted: 0,
|
||||
@@ -136,7 +135,6 @@ t.test("GET /api/v1/users/:userID/games/:game/:playtype/sessions/best", (t) => {
|
||||
desc: null,
|
||||
name: i.toString(),
|
||||
highlight: false,
|
||||
importType: "file/batch-manual",
|
||||
timeEnded: 0,
|
||||
timeInserted: 0,
|
||||
timeStarted: 0,
|
||||
|
||||
+2
-2
@@ -28,8 +28,8 @@ t.test("GET /api/v1/users/:userID/games/:game/:playtype/tables/:tableID", (t) =>
|
||||
t.equal(res.body.body.table.tableID, "mock_table");
|
||||
t.equal(res.body.body.stats.length, 1);
|
||||
|
||||
t.equal(res.body.body.stats[0].lamp["EX HARD CLEAR"], 1);
|
||||
t.equal(res.body.body.stats[0].grade.AAA, 1);
|
||||
t.equal(res.body.body.stats[0].stats.lamp["EX HARD CLEAR"], 1);
|
||||
t.equal(res.body.body.stats[0].stats.grade.AAA, 1);
|
||||
|
||||
t.end();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user