Files
reverse-engineering-anything/tests
morluto bf5a3b05c9 test(filesystem): name the refusal behind bare toThrow assertions (#15522)
* test(filesystem): name the refusal behind bare toThrow assertions

Replace argument-less toThrow()/rejects.toThrow() in filesystem boundary
tests with the observed refusal: ENOENT/ESRCH/EBADF codes for absence and
release checks, retained cleanup reason and resources for retry failures,
schema issue paths for parser refusals, and the script diagnostics for CI
and release helpers.

* test(filesystem): require release probes to observe calls before every()

An every() over an empty call or page list passes vacuously. Assert the
git-only proposal run and the file-backed page scan observed at least one
entry first.

* test(filesystem): expect the Windows refusal shape for a linked skill file

Windows has no O_NOFOLLOW, so openRegularFile refuses the link in its
post-open name recheck with NonRegularFileReadError (ENOTFILE) instead of
RejectedRegularFileSymlink (ELOOP).
2026-12-01 16:54:19 +00:00
..