import type { PublicContract } from '@kbn/utility-types' ; import type { VerificationCode } from './verification_code' ; export const verificationCodeMock = { create : ( ) : jest . Mocked < PublicContract < VerificationCode > > => ( { code : '123456' , remainingAttempts : 5 , verify : jest . fn ( ) . mockReturnValue ( true ) , } ) , } ;