Class: CloneBayMockingService

Constructors

constructor

new CloneBayMockingService(mockingService): CloneBayMockingService

Parameters

NameType
mockingServiceMockingService

Returns

CloneBayMockingService

Defined in

lib/src/api/clone-bay-mocking.service.ts:8open in new window

Methods

createUser

createUser(user): Promise<Document<unknown, {}, UserDocument> & User & Document<any, any, any> & SchemaTimestampsConfig & { _id: ObjectId }>

Parameters

NameType
userOmit<User, "id">

Returns

Promise<Document<unknown, {}, UserDocument> & User & Document<any, any, any> & SchemaTimestampsConfig & { _id: ObjectId }>

Defined in

lib/src/api/clone-bay-mocking.service.ts:10open in new window


loginWithEveId

loginWithEveId(session, eveId): Promise<UserDocument>

Parameters

NameType
sessionunknown
eveIdnumber

Returns

Promise<UserDocument>

Defined in

lib/src/api/clone-bay-mocking.service.ts:14open in new window