UNPKG

@tsed/platform-test-sdk

Version:
17 lines (16 loc) 540 B
import { Req } from "@tsed/platform-http"; import { PlatformTestingSdkOpts } from "../interfaces/index.js"; export declare class HeaderParamsCtrl { /** * Handle request with a raw middleware + handler * Get Authorization from header * @param request * @param auth */ scenario1(request: Req, auth: string): any; scenario2(contentType: string): { contentType: string; }; testScenario3(token: string): any; } export declare function testHeaderParams(options: PlatformTestingSdkOpts): void;