import { createMock } from 'ts-auto-mock' ; describe ( 'typeQuery undefined ' , ( ) => { it ( 'should return undefined' , ( ) => { const type = createMock < typeof undefined > ( ) ; expect ( type ) . toBeUndefined ( ) ; } ) ; } ) ;