Skip to content
Snippets Groups Projects
Commit 433505df authored by syuilo's avatar syuilo
Browse files

fix e2e test

parent 395fe7eb
No related branches found
No related tags found
No related merge requests found
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment