UNPKG

@podium/test-utils

Version:

Misc common test utils for Podium

15 lines (14 loc) 521 B
export class HttpsServer { address: string; /** @type {import('http').RequestListener | undefined} */ request: import("http").RequestListener | undefined; /** @type {import('https').Server | undefined} */ server: import("https").Server | undefined; app: https.Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>; listen(): Promise<any>; close(): Promise<any>; get(options?: { pathname: string; }): Promise<any>; } import https from 'https';