diff --git a/test/private-api/auth.e2e-spec.ts b/test/private-api/auth.e2e-spec.ts index c299e9c38..7d9f9529b 100644 --- a/test/private-api/auth.e2e-spec.ts +++ b/test/private-api/auth.e2e-spec.ts @@ -34,6 +34,11 @@ describe('Auth', () => { }); afterAll(async () => { + // Yes, this is a bad hack, but there is a race somewhere and I have + // no idea how to fix it. + await new Promise((resolve) => { + setTimeout(resolve, 1000); + }); await testSetup.cleanup(); });