Skip to content

Comments

test: add missing --output flag assertion in help tests#70

Merged
vobu merged 2 commits intofeat/process-instance-diagramfrom
copilot/sub-pr-60-please-work
Feb 18, 2026
Merged

test: add missing --output flag assertion in help tests#70
vobu merged 2 commits intofeat/process-instance-diagramfrom
copilot/sub-pr-60-please-work

Conversation

Copy link
Contributor

Copilot AI commented Feb 18, 2026

Addresses feedback on #60 to assert the --output flag in help tests alongside the existing --diagram flag assertion.

Changes

  • Added assert.ok(output.includes('--output')) to help test at line 73 in tests/unit/help.test.ts

The --output flag was already documented in help text but lacked test coverage. Since --diagram and --output work together for diagram rendering, both flags should be asserted to maintain complete test coverage of the help output contract.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Add assertion to verify --output flag appears in help text alongside
--diagram flag, as both flags work together for diagram rendering.

Co-authored-by: vobu <6573426+vobu@users.noreply.github.com>
Copilot AI changed the title [WIP] Update PI diagram rendering implementation based on feedback test: add missing --output flag assertion in help tests Feb 18, 2026
Copilot AI requested a review from vobu February 18, 2026 14:16
@vobu vobu marked this pull request as ready for review February 18, 2026 14:21
@vobu vobu merged commit f11a89f into feat/process-instance-diagram Feb 18, 2026
1 check passed
@vobu vobu deleted the copilot/sub-pr-60-please-work branch February 18, 2026 14:21
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.

2 participants