Files
open-design/e2e
lefarcenandGitHub ef006808e7 test(e2e): only swallow ENOENT in win onboarding smoke reset (#4668)
Follow-up to #4665 (nettee review on the backport #4667). The namespace wipe
guarded its readdir with `.catch(() => [])`, which swallowed ANY error — a
real readdir failure (permissions, I/O) would turn the reset into a silent
no-op and let stale state through, defeating the fresh-first-run guarantee the
helper exists to make. Scope the catch to ENOENT only (missing root = already
fresh, nothing to wipe); rethrow anything else so the test fails loudly.
2026-06-23 05:59:14 +00:00
..