fix db mock

This commit is contained in:
undefined committed 2020-08-20 17:36:37 +08:00
1 parent af9a8fb206
commit 12af2f7542
2 files changed
+22 -1

No files matched your search

+2
View File
@@ -14,5 +14,7 @@ export async function connect() {
export async function dispose() {
const db = require('hydrooj/src/service/db');
await db.getClient().close();
await db.getClient2().close();
await db.getDb().close();
await db.getDb2().close();
}