@@ -119,7 +119,7 @@ describe('UpdateChanges', () => {
119
119
}
120
120
return false ;
121
121
} ) ;
122
- spyOn ( fs , 'readFileSync' ) . and . callFake ( ( ) => JSON . stringify ( outputJson ) ) ;
122
+ spyOn < any > ( fs , 'readFileSync' ) . and . callFake ( ( ) => JSON . stringify ( outputJson ) ) ;
123
123
124
124
const fileContent = `<one (onReplaceMe)="a"> <comp\r\ntag (onReplaceMe)="dwdw" (onOld)=""> </other> <another (onOld)="b" />` ;
125
125
appTree . create ( 'test.component.html' , fileContent ) ;
@@ -163,7 +163,7 @@ describe('UpdateChanges', () => {
163
163
}
164
164
return false ;
165
165
} ) ;
166
- spyOn ( fs , 'readFileSync' ) . and . callFake ( ( ) => JSON . stringify ( inputJson ) ) ;
166
+ spyOn < any > ( fs , 'readFileSync' ) . and . callFake ( ( ) => JSON . stringify ( inputJson ) ) ;
167
167
168
168
const fileContent = `<one [replaceMe]="a"> <comp\r\ntag [replaceMe]="dwdw" [oldProp]=''> </other> <another oldProp="b" />` ;
169
169
appTree . create ( 'test.component.html' , fileContent ) ;
@@ -224,7 +224,7 @@ describe('UpdateChanges', () => {
224
224
}
225
225
return false ;
226
226
} ) ;
227
- spyOn ( fs , 'readFileSync' ) . and . callFake ( ( ) => JSON . stringify ( classJson ) ) ;
227
+ spyOn < any > ( fs , 'readFileSync' ) . and . callFake ( ( ) => JSON . stringify ( classJson ) ) ;
228
228
229
229
const fileContent = `import { igxClass } from ""; export class Test { prop: igxClass; prop2: igxClass2; }` ;
230
230
appTree . create ( 'test.component.ts' , fileContent ) ;
@@ -264,7 +264,7 @@ describe('UpdateChanges', () => {
264
264
}
265
265
return false ;
266
266
} ) ;
267
- spyOn ( fs , 'readFileSync' ) . and . callFake ( ( ) => JSON . stringify ( classJson ) ) ;
267
+ spyOn < any > ( fs , 'readFileSync' ) . and . callFake ( ( ) => JSON . stringify ( classJson ) ) ;
268
268
269
269
const fileContent =
270
270
`import { Component, Injectable, ViewChild } from "@angular/core";` +
@@ -356,7 +356,7 @@ describe('UpdateChanges', () => {
356
356
}
357
357
return false ;
358
358
} ) ;
359
- spyOn ( fs , 'readFileSync' ) . and . callFake ( ( ) => JSON . stringify ( inputJson ) ) ;
359
+ spyOn < any > ( fs , 'readFileSync' ) . and . callFake ( ( ) => JSON . stringify ( inputJson ) ) ;
360
360
361
361
const fileContent = `<igx-icon fontSet='material' name='phone'></igx-icon>
362
362
<igx-icon fontSet="material-icons" name="build"></igx-icon>
@@ -411,7 +411,7 @@ describe('UpdateChanges', () => {
411
411
}
412
412
return false ;
413
413
} ) ;
414
- spyOn ( fs , 'readFileSync' ) . and . callFake ( ( ) => JSON . stringify ( themePropsJson ) ) ;
414
+ spyOn < any > ( fs , 'readFileSync' ) . and . callFake ( ( ) => JSON . stringify ( themePropsJson ) ) ;
415
415
416
416
const fileContent =
417
417
`$var: igx-theme-func(
@@ -477,7 +477,7 @@ $var3: igx-comp-theme(
477
477
}
478
478
return false ;
479
479
} ) ;
480
- spyOn ( fs , 'readFileSync' ) . and . callFake ( ( ) => JSON . stringify ( importsJson ) ) ;
480
+ spyOn < any > ( fs , 'readFileSync' ) . and . callFake ( ( ) => JSON . stringify ( importsJson ) ) ;
481
481
482
482
const fileContent = `
483
483
@NgModule({
0 commit comments