Skip to content

test: SML fixture is missing from clean checkouts #26

@thepastaclaw

Description

@thepastaclaw

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions