1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 07:35:57 +09:00

fix e2e test

This commit is contained in:
syuilo 2022-04-03 15:14:26 +09:00
parent 395fe7eb4b
commit 433505df48

View File

@ -209,7 +209,11 @@ export const db = new DataSource({
});
export async function initDb() {
await db.connect();
if (db.isInitialized) {
// nop
} else {
await db.connect();
}
}
export async function resetDb() {