Provides infrastructure for testing Angular core functionality.
Fixture for debugging and testing a component.
Configures and initializes environment for unit testing and provides methods for creating components and services in unit tests.
An abstract class for inserting the root test component element in a platform independent way.
Wraps a test function in an asynchronous test zone. The test will automatically complete when all asynchronous calls within this zone are done. Can be used to wrap an
Discard all remaining periodic tasks.
Wraps a function to be executed in the fakeAsync zone:
Simulates the asynchronous passage of time for the timers in the fakeAsync zone by draining the macrotask queue until it is empty. The returned value is the milliseconds of time that would have been elapsed.
Flush any pending microtasks.
Allows injecting dependencies in
Clears out the shared fake async zone for a test. To be called in a global
Simulates the asynchronous passage of time for the timers in the fakeAsync zone.
Static methods implemented by the
Type used for modifications to metadata
Returns a singleton of the applicable