delete database after each test

This commit is contained in:
Asier Isayas
2026-01-21 11:05:55 -08:00
parent c971d21698
commit c561a982fb
9 changed files with 10 additions and 32 deletions

View File

@@ -136,9 +136,7 @@ test.describe.serial("Upload Item", () => {
if (existsSync(uploadDocumentDirPath)) {
rmdirSync(uploadDocumentDirPath);
}
if (!process.env.CI) {
await context?.dispose();
}
await context?.dispose();
});
test.afterEach("Close Upload Items panel if still open", async () => {