Interface: ProvideSpectacularFeatureTestingOptions
Defined in: packages/spectacular/src/lib/feature-testing/configuration/provide-spectacular-feature-testing.ts:12
Options for provideSpectacularFeatureTesting.
Properties
featurePath
readonlyfeaturePath:string
Defined in: packages/spectacular/src/lib/feature-testing/configuration/provide-spectacular-feature-testing.ts:17
The path prefix used to load the routes of the specified Angular feature,
for example 'heroes'.
routes
readonlyroutes:Routes
Defined in: packages/spectacular/src/lib/feature-testing/configuration/provide-spectacular-feature-testing.ts:29
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 }]