mirror of
https://github.com/IT4Change/gradido.git
synced 2026-04-25 23:37:36 +00:00
log error
This commit is contained in:
parent
165fc3fbf1
commit
4745de4f58
@ -16,7 +16,11 @@ let db: MySql2Database
|
|||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
await appDB.init()
|
await appDB.init()
|
||||||
db = appDB.getDrizzleDataSource()
|
db = appDB.getDrizzleDataSource()
|
||||||
await db.delete(openaiThreadsTable)
|
try {
|
||||||
|
await db.delete(openaiThreadsTable)
|
||||||
|
} catch(e) {
|
||||||
|
console.error(JSON.stringify(e, null, 2))
|
||||||
|
}
|
||||||
})
|
})
|
||||||
afterAll(async () => {
|
afterAll(async () => {
|
||||||
await appDB.destroy()
|
await appDB.destroy()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user