I am using angular library with secondary entrypoint My library folder structure is
- my-library
- secondary-entrpoint 1
- service 1
- secondary-entrypoint 2
- service 2
- src
- secondary-entrpoint 1
And I used this command ng test my-library --code-coverage
The secondary entry points' service test doesn't execute.
Then I tried, changing "test.ts" context path('./') with '../' which is under the src folder. Tests were executed but code coverage doesn't create.
How can I execute tests for a secondary entry point?