πŸ“Š Angular
Q. What is the purpose of the HttpClientTestingModule?
  • (A) Provide HttpClient for production
  • (B) Mock HTTP requests in tests
  • (C) Manage routing in tests
  • (D) Handle form validation in tests
πŸ’¬ Discuss
βœ… Correct Answer: (B) Mock HTTP requests in tests

Explanation: HttpClientTestingModule is used to mock and test HTTP requests.

Explanation by: Mr. Dubey
HttpClientTestingModule is used to mock and test HTTP requests.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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