Which testing framework is primarily used alongside Angular for unit testing?
- Jasmine
- Jest
- Mocha
- Protractor
Jasmine is the most commonly used testing framework for unit testing in Angular applications. It provides a rich set of features for writing and running tests, including matchers for assertions and spies for tracking function calls.
Loading...
Related Quiz
- A client asks you to highlight the currently active page link in the navigation menu. How would you achieve this in Angular?
- Which change detection strategy checks the component only when its input properties change?
- Which method of ViewContainerRef allows you to insert a component?
- Which Route Guard is especially useful for feature modules that are lazy-loaded?
- What tool is responsible for executing tests in a browser when testing Angular applications?