Missing SML fixture breaks clean test runs
Failure
npm test -- --run --passWithNoTests fails on main in
src/api/sml.test.ts before running that suite:
Error: ENOENT: no such file or directory, open '.../scripts/fixtures/sml-paloma-snapshot.bin'
Evidence
Reproduction
git checkout main
npm ci
npm test -- --run --passWithNoTests
Diagnosis
The SML unit test eagerly reads scripts/fixtures/sml-paloma-snapshot.bin at
module load time. The fixture is not tracked in the repository, so the suite
fails with ENOENT on clean checkouts and in GitHub Actions.
Missing SML fixture breaks clean test runs
Failure
npm test -- --run --passWithNoTestsfails onmaininsrc/api/sml.test.tsbefore running that suite:Evidence
https://github.com/dashpay/dash-bridge/actions/runs/26610343045/job/78414619926
upstream/maincontainssrc/api/sml.test.tsbut does not containscripts/fixtures/sml-paloma-snapshot.bin.Reproduction
git checkout main npm ci npm test -- --run --passWithNoTestsDiagnosis
The SML unit test eagerly reads
scripts/fixtures/sml-paloma-snapshot.binatmodule load time. The fixture is not tracked in the repository, so the suite
fails with
ENOENTon clean checkouts and in GitHub Actions.