class MockApi
extends Api
import { MockApi } from "https://deno.land/x/deno_api_server@v0.6.4/src/testing/mock-api.ts";
Constructors
new
MockApi(serverConfig: IServerConfig)Properties
private
injections: IInjectionsoptional
lastContext: IContext | IErrorContext | nulloptional
lastRoute: IRoute | nullMethods
mockInjections(injectsions: IInjections): MockApi
shorthand function
sendByRequest(request: IRequest, url?: URL)
request send method