mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-04 21:08:09 +03:00
fix: latent bad test
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user