Skip to content

Add real tests for packages/cli (current test script is a smoke print) #70

Description

@Railly

Context

packages/cli/package.json defines "test": "node dist/cli.js --help". That verifies the binary boots but asserts nothing about theme generation output.

Task

Add unit or integration tests around the CLI's core flows: generating a theme, compiling providers, and error handling for invalid input.

Acceptance criteria

  • bun test in packages/cli runs real assertions
  • At least one test validates generated output shape for one provider
  • CI-friendly (no network needed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions