Class: SpectacularFeatureTestingModule
Configure the RouterTestingModule and provide Spectactular services for testing feature modules.
NOTE! Do not import directly. Use SpectacularFeatureTestingModule.withFeature.
NOTE! Prefer to use createFeatureHarness. This Angular module is a low level building block in case you need more control over your test setup.
Constructors
constructor
• new SpectacularFeatureTestingModule()
Defined in
Methods
withFeature
▸ Static withFeature(options): ModuleWithProviders<SpectacularFeatureTestingRootModule>
Configures the RouterTestingModule and provides Spectactular services for testing feature modules
Parameters
| Name | Type |
|---|---|
options | SpectacularFeatureTestingModuleOptions |
Returns
ModuleWithProviders<SpectacularFeatureTestingRootModule>