UNPKG

@tsed/platform-test-sdk

Version:
9 lines (8 loc) 381 B
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;