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.
Deprecated
Deprecated in favor of provideSpectacularFeatureTest
. To be
removed in Spectacular version 16.
Constructors
constructor
• new SpectacularFeatureTestingModule()
Defined in
Methods
withFeature
▸ Static
withFeature(options
): ModuleWithProviders
<SpectacularFeatureTestingRootModule
>
Configure the RouterTestingModule
and provide Spectactular
services for testing feature modules.
Deprecated
Deprecated in favor of provideSpectacularFeatureTest
. To be
removed in Spectacular version 16.
Parameters
Name | Type |
---|---|
options | SpectacularFeatureTestingModuleOptions |
Returns
ModuleWithProviders
<SpectacularFeatureTestingRootModule
>