committed by
GitHub
parent
4692f54b49
commit
80fe362f33
@@ -12,5 +12,11 @@ const pgGodCredentials = {
|
||||
}
|
||||
|
||||
afterAll(async () => {
|
||||
await dropDatabase({ databaseName: DB_NAME }, pgGodCredentials)
|
||||
try {
|
||||
await dropDatabase({ databaseName: DB_NAME }, pgGodCredentials)
|
||||
} catch (e) {
|
||||
console.error(
|
||||
`This might fail if it is run during the unit tests since there is no database to drop. Otherwise, please check what is the issue. ${e.message}`
|
||||
)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user