mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-06 05:48:00 +03:00
clean up t.throws/t.rejects
This commit is contained in:
@@ -14,8 +14,10 @@ const logger = CreateLogCtx(__filename);
|
||||
|
||||
const DATA_DIR = path.join(__dirname, "./mock-db");
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const CACHE: Record<string, any[]> = {};
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
async function ResetState(data: any[], collection: any) {
|
||||
await collection.remove({});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user