UNPKG

@tsed/platform-test-sdk

Version:
17 lines (16 loc) 512 B
import { PlatformTestingSdkOpts } from "../interfaces/index.js"; export declare class UserCreation { name: string; email: string; password: string; } export declare class User extends UserCreation { password: string; } export declare class SessionCtrl { platformName: string; connect(session: any, user: UserCreation): Promise<UserCreation>; userInfo(user: User): Promise<User>; logout(req: any): any; } export declare function testSession(options: PlatformTestingSdkOpts): void;