Angular 8 Interview Questions and Answers
Question: What is the Angular TestBed used for in testing?Answer: The TestBed in Angular testing is a configuration and testing utility that provides methods for configuring and creating testing modules. It is used to create a controlled environment for testing Angular components, services, and other constructs.Example:
|
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users: