log error

This commit is contained in:
einhornimmond 2025-12-06 15:04:32 +01:00
parent 165fc3fbf1
commit 4745de4f58

View File

@ -16,7 +16,11 @@ let db: MySql2Database
beforeAll(async () => {
await appDB.init()
db = appDB.getDrizzleDataSource()
try {
await db.delete(openaiThreadsTable)
} catch(e) {
console.error(JSON.stringify(e, null, 2))
}
})
afterAll(async () => {
await appDB.destroy()