@podium/test-utils
Version:
Misc common test utils for Podium
13 lines (12 loc) • 464 B
TypeScript
export class HttpServer {
address: string;
/** @type {import('http').RequestListener | undefined} */
request: import("http").RequestListener | undefined;
/** @type {import('http').Server | undefined} */
server: import("http").Server | undefined;
app: http.Server<typeof http.IncomingMessage, typeof http.ServerResponse>;
listen(): Promise<any>;
close(): Promise<any>;
get(options?: {}): Promise<any>;
}
import http from 'http';