-1

What is the recommended method for running unit tests on a single component or service?

I can temporarily modify tests.ts to only load a single .spec.ts file, but this seems very hacky. There doesn't appear to be an option for ng test that does this.

Edit: This question is answered here: Running a single test file

ARM
  • 1,520
  • 1
  • 12
  • 24
  • Possible duplicate of [Running a single test file](http://stackoverflow.com/questions/41132933/running-a-single-test-file) – tilo Apr 13 '17 at 06:30
  • @tilo That question was posted after this one, so technically I think it's the duplicate. – ARM Dec 28 '17 at 22:57

1 Answers1

2

Have you tried using fdescribe on your root describe block in the spec?

Amy Blankenship
  • 6,485
  • 2
  • 22
  • 45