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