import { IUserService , RegisterReq } from "nestx-auth" ; import { Result } from "nestx-common" ; export class MockUserService implements IUserService { async verifyCode ( code , mobile ) { return true ; } async register ( payload ) { return { username : "string" } ; } async sendVeryCode ( mobile ) { return { ok : true } ; } async findOne ( conditions ? ) { return true ; } async login ( ) { return { username : "hi" } ; } }