UNPKG

@tsed/platform-test-sdk

Version:
13 lines (12 loc) 420 B
import { Context } from "@tsed/platform-params"; import { PlatformTestingSdkOpts } from "../interfaces/index.js"; export declare class MyModel { id: string; name: string; } export declare class HandlersCtrl { scenario1(id: string): MyModel; scenario2(ctx: Context, id: string): void; scenario3(id: string): Promise<any>; } export declare function testHandlers(options: PlatformTestingSdkOpts): void;