fix: disable set-db-location step (#4263)

This commit is contained in:
Peng Xiao
2023-09-08 01:41:27 +08:00
committed by LongYinan
parent fd05bb3e39
commit 4e5d426edf
6 changed files with 5 additions and 24 deletions
+3 -1
View File
@@ -12,6 +12,8 @@ import fs from 'fs-extra';
import type { ElectronApplication, Page } from 'playwright';
import { _electron as electron } from 'playwright';
import { removeWithRetry } from '../tests/utils';
function generateUUID() {
return crypto.randomUUID();
}
@@ -102,7 +104,7 @@ export const test = base.extend<{
});
await use(electronApp);
try {
await fs.rm(clonedDist, { recursive: true, force: true });
await removeWithRetry(clonedDist);
} catch (error) {
console.log(error);
}