unit-test: clearDB before startDHT

This commit is contained in:
Claus-Peter Hübner 2023-02-03 20:28:57 +01:00
parent 16bffa0436
commit a07888004e

View File

@ -117,6 +117,7 @@ describe('federation', () => {
beforeEach(async () => {
DHT.mockClear()
jest.clearAllMocks()
await cleanDB()
await startDHT(TEST_TOPIC)
})