ECC/tests/lib
Affaan Mustafa dc11fc2fd8 fix: make saveAliases atomic on Unix by skipping unnecessary unlink before rename
On Unix/macOS, rename(2) atomically replaces the destination file.
The previous code ran unlinkSync before renameSync on all platforms,
creating an unnecessary non-atomic window where a crash could lose
data. Now the delete-before-rename is gated behind process.platform
=== 'win32', where rename cannot overwrite an existing file.
2026-02-13 04:23:22 -08:00
..
package-manager.test.js fix: header subtitle width mismatch in skill-create-output; add 9 tests (Round 34) 2026-02-13 03:58:16 -08:00
session-aliases.test.js fix: make saveAliases atomic on Unix by skipping unnecessary unlink before rename 2026-02-13 04:23:22 -08:00
session-manager.test.js test: add 10 tests for birthtime fallback, stdin error, alias rollback (Round 33) 2026-02-13 03:50:44 -08:00
utils.test.js test: add 10 tests for birthtime fallback, stdin error, alias rollback (Round 33) 2026-02-13 03:50:44 -08:00