Q. Which Angular testing utility is used to create a component fixture?

  • (A) TestBed.createComponent()
  • (B) ComponentFixture()
  • (C) createFixture()
  • (D) TestComponent()
πŸ’¬ Discuss
βœ… Correct Answer: (A) TestBed.createComponent()
Explanation: TestBed.createComponent creates an instance and fixture for component testing.
Explanation by: Mr. Dubey
TestBed.createComponent creates an instance and fixture for component testing.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
105
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
90%
Success Rate