import { createMock } from 'ts-auto-mock' ; describe ( 'when variables are created in a for' , ( ) => { it ( 'should not have conflicts with ts auto mock imports' , ( ) => { interface MyInterface { a : string ; } createMock < MyInterface > ( ) ; const a = [ 'hello' , 'world' ] ; expect ( ( ) => { for ( const c of a ) { } for ( const d of a ) { } for ( const e of a ) { } } ) . not . toThrow ( ) ; } ) ; } ) ; describe ( 'when there are variables with the same name as ts auto mock private identifiers' , ( ) => { it ( 'should have conflicts with ts auto mock imports' , ( ) => { const ɵRepository = 'test' ; interface MyInterface { a : string ; } expect ( ( ) => { createMock < MyInterface > ( ) ; } ) . toThrow ( ) ; } ) ; } ) ;