import { createMock } from 'ts-auto-mock' ; describe ( 'bigint' , ( ) => { it ( 'should be transformed correctly' , ( ) => { interface WithBigInt { a : bigint ; } const mock = createMock < WithBigInt > ( ) ; expect ( mock . a . toString ( ) ) . toEqual ( '0' ) ; expect ( mock . a ) . not . toBe ( 0 ) ; } ) ; } ) ;