Q. Which command runs unit tests in Angular?

  • (A) ng run tests
  • (B) ng test
  • (C) ng karma
  • (D) ng unit
πŸ’¬ Discuss
βœ… Correct Answer: (B) ng test
Explanation: `ng test` runs unit tests using Karma and Jasmine by default.
Explanation by: Mr. Dubey
`ng test` runs unit tests using Karma and Jasmine by default.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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