sasjs / cli

Command line interface for creating, compiling, and building SAS® projects
https://cli.sasjs.io
MIT License
37 stars 5 forks source link

sasjs test coverage includes files that are not part of the target #1168

Closed allanbowe closed 2 years ago

allanbowe commented 2 years ago

For the actual compilation, and also in sasjs doc, only the folders in the specified/default target are considered.

However, the test coverage displays the entire project, including macros that are not part of the target.

This can be observed in the sasjs/core repo:

git clone git@github.com:sasjs/core.git
cd core
npm i
sasjs c

The test coverage shows macros that are not in the viya target, such as mm_* and ms_*.

Expected - the test coverage only considers target specific (or root) attributes.

ghost commented 2 years ago

:tada: This issue has been resolved in version 3.10.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: