Skip to content

test: add unit test coverage for ensurePatchloomReadyOrNotify helper #149

Description

@SebTardif

The new dedup helper in src/binary/patchloom.ts:ensurePatchloomReadyOrNotify is used in 3 commands but has no direct unit tests (only indirect via command flows).

Add tests in test/unit/binary.test.ts exercising:

  • ready + supported -> returns path
  • not ready -> notifies and returns null
  • needs upgrade -> notifies and returns null

Use resolvePatchloomStatusWithInputs mocks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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