Files
hermes-agent/tests-js
PRATHAMESH75 d436e79bae test(build): seed assets/ input before the junk-write assertion (#122632)
The freshness regression wrote assets/.localized into a hashed web input
dir the fixture never created, so the assertion exercised a
missing->directory transition of the assets input rather than the
junk-in-an-existing-dir case it meant to cover: treeHash goes from
'assets\0missing\0' to 'assets\0', the hash flips, and productCurrent
returns false. Seed assets/logo.svg before buildWeb so assets is an
established hashed dir at baseline; the later .localized is then skipped
by macMetadata and the hash stays byte-identical, keeping assets coverage
in the junk-metadata check.

Reported by @kokhlo.
2026-10-01 00:15:05 -05:00
..