@@ -197,12 +197,12 @@ export abstract class FileMockUtilities {
197197
198198 private static async createAppRoutesServerTs ( mockConstants : MockConstants ) : Promise < void > {
199199 await FsUtilities . createFile ( mockConstants . ANGULAR_APP_ROUTES_SERVER_TS , [
200- ` import { RenderMode, ServerRoute } from '@angular/ssr';` ,
200+ ' import { RenderMode, ServerRoute } from \ '@angular/ssr\';' ,
201201 '' ,
202- ` export const serverRoutes: ServerRoute[] = [` ,
202+ ' export const serverRoutes: ServerRoute[] = [' ,
203203 '\t{' ,
204- ` \t\tpath: '**',` ,
205- ` \t\trenderMode: RenderMode.Prerender` ,
204+ ' \t\tpath: \ '**\',' ,
205+ ' \t\trenderMode: RenderMode.Prerender' ,
206206 '\t}' ,
207207 '];'
208208 ] , true , false ) ;
@@ -228,17 +228,17 @@ export abstract class FileMockUtilities {
228228
229229 private static async createAppConfigServer ( mockConstants : MockConstants ) : Promise < void > {
230230 await FsUtilities . createFile ( mockConstants . ANGULAR_APP_CONFIG_SERVER_TS , [
231- ` import { mergeApplicationConfig, ApplicationConfig } from '@angular/core';` ,
232- ` import { provideServerRendering, withRoutes } from '@angular/ssr';` ,
231+ ' import { mergeApplicationConfig, ApplicationConfig } from \ '@angular/core\';' ,
232+ ' import { provideServerRendering, withRoutes } from \ '@angular/ssr\';' ,
233233 '' ,
234- ` import { appConfig } from './app.config';` ,
235- ` import { serverRoutes } from './app.routes.server';` ,
234+ ' import { appConfig } from \ './app.config\';' ,
235+ ' import { serverRoutes } from \ './app.routes.server\';' ,
236236 '' ,
237- ` const serverConfig: ApplicationConfig = {` ,
238- ` \tproviders: [provideServerRendering(withRoutes(serverRoutes))]` ,
239- `};` ,
237+ ' const serverConfig: ApplicationConfig = {' ,
238+ ' \tproviders: [provideServerRendering(withRoutes(serverRoutes))]' ,
239+ '};' ,
240240 '' ,
241- ` export const config: ApplicationConfig = mergeApplicationConfig(appConfig, serverConfig);`
241+ ' export const config: ApplicationConfig = mergeApplicationConfig(appConfig, serverConfig);'
242242 ] , true , false ) ;
243243 }
244244
0 commit comments