mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
fix federation test error
This commit is contained in:
parent
08a2f391fb
commit
a074094f46
@ -39,8 +39,8 @@ beforeAll(async () => {
|
||||
|
||||
afterAll(async () => {
|
||||
// await cleanDB()
|
||||
if (!testEnv.con || !testEnv.con.isConnected) {
|
||||
await testEnv.con.close()
|
||||
if (testEnv.con?.isInitialized) {
|
||||
await testEnv.con.destroy()
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
"extends": ["//"],
|
||||
"tasks": {
|
||||
"test": {
|
||||
"dependsOn": ["database#up:federation_test"]
|
||||
"dependsOn": ["database#up:federation_test", "config-schema#build", "database#build"]
|
||||
},
|
||||
"dev": {
|
||||
"dependsOn": ["database#up"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user