This PR adds unit tests for cli.ts, and achieves 100% coverage for everything except branches, which are left at 86%. The lower branch coverage is mainly due to solitary if statements in manifestHandler.ts whose implicit else clauses are never tested.
In order to achieve the increased test coverage, some internal files have been refactored. All changes should be non-breaking.
Closes #74.
This PR adds unit tests for
cli.ts
, and achieves 100% coverage for everything except branches, which are left at 86%. The lower branch coverage is mainly due to solitaryif
statements inmanifestHandler.ts
whose implicitelse
clauses are never tested.In order to achieve the increased test coverage, some internal files have been refactored. All changes should be non-breaking.