Commit Graph
1 Commits
Author SHA1 Message Date
google-labs-jules[bot]andPR0M3TH3AN 764bd9eb46 test(cli): add unit tests for cmdRollback
Refactor cmdRollback to support dependency injection and add comprehensive unit tests covering validation, version listing, and rollback operations.

- Refactor `src/cmd-rollback.mjs` to accept `deps` argument.
- Create `test/cmd-rollback.test.mjs` with test cases for happy paths and error conditions.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 18:33:09 +00:00