@@ -24,7 +24,6 @@ function Uri(filename: string): vscode.Uri {
2424}
2525
2626function createDummyStat ( filetype : FileType ) : FileStat {
27- //tslint:disable-next-line:no-any
2827 return { type : filetype } as any ;
2928}
3029
@@ -91,7 +90,6 @@ suite('Raw FileSystem', () => {
9190 const stat = TypeMoq . Mock . ofType < fsextra . Stats > ( undefined , TypeMoq . MockBehavior . Strict ) ;
9291 // This is necessary because passing "mock.object" to
9392 // Promise.resolve() triggers the lookup.
94- //tslint:disable-next-line:no-any
9593 stat . setup ( ( s : any ) => s . then )
9694 . returns ( ( ) => undefined )
9795 . verifiable ( TypeMoq . Times . atLeast ( 0 ) ) ;
@@ -174,7 +172,6 @@ suite('Raw FileSystem', () => {
174172 size : 10 ,
175173 ctime : 101 ,
176174 mtime : 102 ,
177- //tslint:disable-next-line:no-any
178175 } as any ;
179176 const old = createMockLegacyStat ( ) ;
180177 setupStatFileType ( old , testData . filetype ) ;
@@ -687,7 +684,6 @@ suite('Raw FileSystem', () => {
687684 size : 10 ,
688685 ctime : 101 ,
689686 mtime : 102 ,
690- //tslint:disable-next-line:no-any
691687 } as any ;
692688 const lstat = createMockLegacyStat ( ) ;
693689 setupStatFileType ( lstat , FileType . Unknown ) ;
@@ -712,7 +708,6 @@ suite('Raw FileSystem', () => {
712708 size : 10 ,
713709 ctime : 101 ,
714710 mtime : 102 ,
715- //tslint:disable-next-line:no-any
716711 } as any ;
717712 const lstat = createMockLegacyStat ( ) ;
718713 lstat
@@ -742,7 +737,6 @@ suite('Raw FileSystem', () => {
742737 size : 10 ,
743738 ctime : 101 ,
744739 mtime : 102 ,
745- //tslint:disable-next-line:no-any
746740 } as any ;
747741 const lstat = createMockLegacyStat ( ) ;
748742 lstat
@@ -800,7 +794,6 @@ suite('Raw FileSystem', () => {
800794 suite ( 'createReadStream' , ( ) => {
801795 test ( 'wraps the low-level function' , ( ) => {
802796 const filename = 'x/y/z/spam.py' ;
803- //tslint:disable-next-line:no-any
804797 const expected = { } as any ;
805798 raw . setup ( ( r ) => r . createReadStream ( filename ) ) // expect the specific filename
806799 . returns ( ( ) => expected ) ;
@@ -824,7 +817,6 @@ suite('Raw FileSystem', () => {
824817 suite ( 'createWriteStream' , ( ) => {
825818 test ( 'wraps the low-level function' , ( ) => {
826819 const filename = 'x/y/z/spam.py' ;
827- //tslint:disable-next-line:no-any
828820 const expected = { } as any ;
829821 raw . setup ( ( r ) => r . createWriteStream ( filename ) ) // expect the specific filename
830822 . returns ( ( ) => expected ) ;
@@ -880,7 +872,6 @@ suite('FileSystemUtils', () => {
880872 const stat = TypeMoq . Mock . ofType < FileStat > ( undefined , TypeMoq . MockBehavior . Strict ) ;
881873 // This is necessary because passing "mock.object" to
882874 // Promise.resolve() triggers the lookup.
883- //tslint:disable-next-line:no-any
884875 stat . setup ( ( s : any ) => s . then )
885876 . returns ( ( ) => undefined )
886877 . verifiable ( TypeMoq . Times . atLeast ( 0 ) ) ;
0 commit comments