@tsed/platform-test-sdk
Version:
Package to test platform adapter integration with Ts.ED
13 lines (12 loc) • 420 B
TypeScript
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;