chore: commit pending cli/web test tweaks

This commit is contained in:
Peter Steinberger
2025-11-26 02:19:45 +01:00
parent 8682352edb
commit e482e7768b
7 changed files with 97 additions and 60 deletions

View File

@@ -23,7 +23,9 @@ describe("web logout", () => {
afterEach(async () => {
vi.restoreAllMocks();
await fsPromises.rm(tmpDir, { recursive: true, force: true }).catch(() => {});
await fsPromises
.rm(tmpDir, { recursive: true, force: true })
.catch(() => {});
// restore for safety
// eslint-disable-next-line @typescript-eslint/unbound-method
(os.homedir as unknown as typeof origHomedir) = origHomedir;