Skip to content

Add command-level CLI test coverage#9

Open
fieldviolence wants to merge 1 commit intomainfrom
fieldviolence/cli-test-coverage
Open

Add command-level CLI test coverage#9
fieldviolence wants to merge 1 commit intomainfrom
fieldviolence/cli-test-coverage

Conversation

@fieldviolence
Copy link
Collaborator

Summary

  • add a shared Bun test harness for mocking the client, output, and prompt boundaries
  • add parser, client, and error-format tests plus command suites for markets, orders, portfolio, and account
  • extract CLI error cleanup into src/error-format.ts so it can be tested directly

Testing

  • bunx tsc --noEmit
  • bun test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant