Angular component testing – run only a certain browser and spec file command

To run component tests only for a certain browser and spec file use this command:

ng test --browsers=Chrome --include=**/detail.component.spec.ts

Leave a Reply

Your email address will not be published. Required fields are marked *