jest-express
Version:
40 lines (39 loc) • 830 B
TypeScript
import { NextFunction } from './next';
import { Request } from './request';
import { Response } from './response';
export declare class Express {
error: any;
locals: any;
mountpath: string;
all: any;
delete: any;
disable: any;
disabled: any;
enable: any;
enabled: any;
engine: any;
get: any;
listen: any;
head: any;
post: any;
put: any;
connect: any;
options: any;
trace: any;
patch: any;
param: any;
path: any;
render: any;
route: any;
set: any;
use: any;
request: Request;
response: Response;
next: NextFunction;
private setting;
constructor();
setMountPath(value: string): void;
setLocals(key: string, value: string): void;
setError(key: string, value: string): void;
resetMocked(): void;
}