To test directives with dependencies, Angular provides the _______ class which allows you to inject dependencies and spy on their usage.

  • ComponentFixture
  • TestBed
  • TestBedDependency
  • TestBedStub
To test directives with dependencies, Angular provides the TestBed class, which allows you to configure testing modules and inject dependencies.
Add your answer
Loading...

Leave a comment

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