How to execute only one test spec with angular-cli

I have Angular2 project build with Angular-CLI (beta 20).

Is there a way to run tests against only one selected spec file?

I used to have a project based on Angular2 quick start, and I could manually add specs to jasmine file. But I don’t know how to set this up outside of karma testing or how to limit karma tests to specific files with Angular-CLI builds.

14 Answers
14

Leave a Comment