mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
fix missing parameter
This commit is contained in:
parent
8611187a0a
commit
a539db57b0
@ -1,6 +1,7 @@
|
||||
import { entities } from 'database'
|
||||
|
||||
import { checkDBVersionUntil } from '@/typeorm/DBVersion'
|
||||
import { CONFIG } from '@/config'
|
||||
|
||||
export const headerPushMock = jest.fn((t) => {
|
||||
context.token = t.value
|
||||
@ -23,7 +24,7 @@ export const cleanDB = async () => {
|
||||
}
|
||||
|
||||
export const testEnvironment = async () => {
|
||||
return { con: await checkDBVersionUntil() }
|
||||
return { con: await checkDBVersionUntil(CONFIG.DB_CONNECT_RETRY_COUNT, CONFIG.DB_CONNECT_RETRY_DELAY_MS) }
|
||||
}
|
||||
|
||||
export const resetEntity = async (entity: any) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user