mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
unit-test: clearDB before startDHT
This commit is contained in:
parent
16bffa0436
commit
a07888004e
@ -117,6 +117,7 @@ describe('federation', () => {
|
|||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
DHT.mockClear()
|
DHT.mockClear()
|
||||||
jest.clearAllMocks()
|
jest.clearAllMocks()
|
||||||
|
await cleanDB()
|
||||||
await startDHT(TEST_TOPIC)
|
await startDHT(TEST_TOPIC)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user