This commit is contained in:
Oleg Maslov
2026-09-02 10:14:22 +02:00
parent 0c3e2ead3b
commit b20b138fe4
771 changed files with 161561 additions and 9027 deletions

View File

@@ -115,11 +115,11 @@ describe('Data Export (GDPR)', () => {
// Build the local server
server = await buildLocalServer({ dataDir: tmpDir });
});
}, 60_000);
afterAll(async () => {
await server.close();
fs.rmSync(tmpDir, { recursive: true, force: true });
await server?.close();
if (tmpDir) fs.rmSync(tmpDir, { recursive: true, force: true });
});
it('POST /api/export returns a ZIP with correct Content-Type', async () => {