@@ -61,7 +61,7 @@ describe('initial navigation migration', () => {
6161
6262 await runMigration ( ) ;
6363 expect ( tree . readContent ( '/index.ts' ) )
64- . toContain ( `RouterModule.forRoot([], { relativeLinkResolution: " legacy" })` ) ;
64+ . toContain ( `RouterModule.forRoot([], { relativeLinkResolution: ' legacy' })` ) ;
6565 } ) ;
6666
6767 it ( 'should migrate options without relativeLinkResolution' , async ( ) => {
@@ -79,7 +79,7 @@ describe('initial navigation migration', () => {
7979
8080 await runMigration ( ) ;
8181 expect ( tree . readContent ( '/index.ts' ) )
82- . toContain ( `RouterModule.forRoot([], { useHash: true, relativeLinkResolution: " legacy" })` ) ;
82+ . toContain ( `RouterModule.forRoot([], { useHash: true, relativeLinkResolution: ' legacy' })` ) ;
8383 } ) ;
8484
8585 it ( 'should not migrate options containing relativeLinkResolution' , async ( ) => {
@@ -109,7 +109,7 @@ describe('initial navigation migration', () => {
109109 await runMigration ( ) ;
110110 expect ( tree . readContent ( '/index.ts' ) )
111111 . toContain (
112- `const options = { useHash: true, relativeLinkResolution: " legacy" } as ExtraOptions;` ) ;
112+ `const options = { useHash: true, relativeLinkResolution: ' legacy' } as ExtraOptions;` ) ;
113113 } ) ;
114114
115115 it ( 'should migrate when options is a variable' , async ( ) => {
@@ -121,7 +121,7 @@ describe('initial navigation migration', () => {
121121 await runMigration ( ) ;
122122 expect ( tree . readContent ( '/index.ts' ) )
123123 . toContain (
124- `const options: ExtraOptions = { useHash: true, relativeLinkResolution: " legacy" };` ) ;
124+ `const options: ExtraOptions = { useHash: true, relativeLinkResolution: ' legacy' };` ) ;
125125 } ) ;
126126
127127 it ( 'should migrate when options is a variable with no type' , async ( ) => {
@@ -142,7 +142,7 @@ describe('initial navigation migration', () => {
142142
143143 await runMigration ( ) ;
144144 expect ( tree . readContent ( '/index.ts' ) )
145- . toContain ( `const options = { useHash: true, relativeLinkResolution: " legacy" };` ) ;
145+ . toContain ( `const options = { useHash: true, relativeLinkResolution: ' legacy' };` ) ;
146146 expect ( tree . readContent ( '/index.ts' ) ) . toContain ( `RouterModule.forRoot([], options)` ) ;
147147 } ) ;
148148
@@ -155,7 +155,7 @@ describe('initial navigation migration', () => {
155155 await runMigration ( ) ;
156156 expect ( tree . readContent ( '/index.ts' ) )
157157 . toContain (
158- `const options: RouterExtraOptions = { useHash: true, relativeLinkResolution: " legacy" };` ) ;
158+ `const options: RouterExtraOptions = { useHash: true, relativeLinkResolution: ' legacy' };` ) ;
159159 } ) ;
160160
161161 it ( 'should migrate aliased RouterModule.forRoot' , async ( ) => {
@@ -173,7 +173,7 @@ describe('initial navigation migration', () => {
173173
174174 await runMigration ( ) ;
175175 expect ( tree . readContent ( '/index.ts' ) )
176- . toContain ( `AngularRouterModule.forRoot([], { relativeLinkResolution: " legacy" }),` ) ;
176+ . toContain ( `AngularRouterModule.forRoot([], { relativeLinkResolution: ' legacy' }),` ) ;
177177 } ) ;
178178
179179 function writeFile ( filePath : string , contents : string ) {
0 commit comments