@tsed/platform-test-sdk
Version:
Package to test platform adapter integration with Ts.ED
9 lines (8 loc) • 381 B
TypeScript
import "@tsed/ajv";
import { Exception } from "@tsed/exceptions";
import { MiddlewareMethods } from "@tsed/platform-middlewares";
import { PlatformTestingSdkOpts } from "../interfaces/index.js";
export declare class CatchErrorMiddleware implements MiddlewareMethods {
use(err: Exception): void;
}
export declare function testMiddlewares(options: PlatformTestingSdkOpts): void;