πŸ“Š Angular
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

πŸ‘οΈ
51
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate