title: How to run a single .spec.ts file in an angular-cli project?
body: <p>What is the recommended method for running unit tests on a single component or service?  </p>
  
  <p>I can temporarily modify <code>tests.ts</code> to only load a single <code>.spec.ts</code> file, but this seems very hacky.  There doesn't appear to be an option for <code>ng test</code> that does this.  </p>
  
  <p>Edit: This question is answered here: <a href="https://stackoverflow.com/questions/41132933/running-a-single-test-file">Running a single test file</a></p>