Fix backend test

This commit is contained in:
Daniel Hougaard
2024-02-22 04:56:01 +01:00
parent 0a5112d302
commit 554f0cfd00
2 changed files with 3 additions and 6 deletions

View File

@@ -56,6 +56,7 @@ export default {
{ expiresIn: cfg.JWT_AUTH_LIFETIME }
);
} catch (error) {
console.log("[TEST] Error setting up environment", error);
await db.destroy();
throw error;
}