mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-22 03:51:18 +00:00
perf(test): trim sandbox registry cleanup churn
This commit is contained in:
parent
a661eec0bf
commit
c0cd53e104
1 changed files with 4 additions and 2 deletions
|
|
@ -124,8 +124,10 @@ beforeEach(() => {
|
|||
|
||||
afterEach(async () => {
|
||||
vi.restoreAllMocks();
|
||||
await fs.rm(TEST_STATE_DIR, { recursive: true, force: true });
|
||||
await fs.mkdir(TEST_STATE_DIR, { recursive: true });
|
||||
await fs.rm(SANDBOX_REGISTRY_PATH, { force: true });
|
||||
await fs.rm(SANDBOX_BROWSER_REGISTRY_PATH, { force: true });
|
||||
await fs.rm(`${SANDBOX_REGISTRY_PATH}.lock`, { force: true });
|
||||
await fs.rm(`${SANDBOX_BROWSER_REGISTRY_PATH}.lock`, { force: true });
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue