Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Command (mark with an
x)Description
Creating a secondary entry points for libraries is a manual effort with a risk of misconfiguration of unit testing environment.
In order to get a proper coverage report for all the libraries, the following needs to be adjusted:
test.tsthe context path should be changed:const context = require.context('../', true, /\.spec\.ts$/);angular.jsonthesourceRootpath should be changed:"sourceRoot": "projects/lib-name",(no/src)Describe the solution you'd like
Create a schematic that generates the secondary entry point for the given library.
I would be happy to provide a PR if this get's greenlit.