Skip to content

[Testing] Add tests for the --dry-run flag #44

@chahe-dridi

Description

@chahe-dridi
Write a test that runs the CLI with --dry-run --yes and asserts:
1. No execa calls were made (nothing was actually installed)
2. The output contains "[dry-run]" for each tool
3. The process exits with code 0

Use child_process.spawn or the execa mock pattern already in tests/installer.test.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions