Interface: ProvideSpectacularFeatureTestingOptions
Options for provideSpectacularFeatureTesting.
Hierarchy
ProvideSpectacularFeatureTestingOptions
Properties
featurePath
• Readonly
featurePath: string
The path prefix used to load the routes of the specified Angular feature,
for example 'heroes'
.
Defined in
packages/spectacular/src/lib/feature-testing/configuration/provide-spectacular-feature-testing.ts:18
routes
• Readonly
routes: Routes
One or more feature routes to load.
NOTE! It is unnecessary to lazy-load feature modules in tests, so we can
statically return an Angular module from the loadChildren
callback.
Example
[{ path: 'heroes', loadChildren: () => HeroesModule }]
Defined in
packages/spectacular/src/lib/feature-testing/configuration/provide-spectacular-feature-testing.ts:30