UNPKG

396 BTypeScriptView Raw
1/// <reference types="node" />
2import { Application } from "express";
3import { Server } from "http";
4import { OutputMockFile } from "./compilerOutRootFiles";
5import MockServerOptions from "./mockServerOptions";
6export default function mockServer(attachedFileNames: OutputMockFile[], options: MockServerOptions, listenCallback: (port: number, server: Server) => void): Promise<Application>;