import { createMock } from 'ts-auto-mock' ; describe ( 'not reusable' , ( ) => { it ( 'should give the default value ' , ( ) => { const mock = createMock < string > ( ) ; const mock2 = createMock < number > ( ) ; expect ( mock ) . toBe ( '' ) ; expect ( mock2 ) . toBe ( 0 ) ; } ) ; it ( 'should give the default value' , ( ) => { type Type = string ; const mock = createMock < Type > ( ) ; expect ( mock ) . toBe ( '' ) ; } ) ; } ) ;