Function spoolAngular
-
spoolAngular(
options: {
routes: readonly AngularRoute[];
serverRoutes: readonly AngularServerRoute[];
},
): AngularPage[]Parameters
- options: { routes: readonly AngularRoute[]; serverRoutes: readonly AngularServerRoute[] }
Returns AngularPage[]
The registrations for an Angular app's
Routesarray and itsserverRoutes. Each page registers under the mode its server route declares; a dynamic page stays on the network until the app declares its family. In development (NODE_ENVis notproduction) it prints the routes it registered, the ones it left to the network and why. Angular's dev server has no plugin hook, so the report is printed here, not by the dev server, and it cannot list uncovered GETs.