• Middleware for easy invocation of SyntheticSDK mocha, and may be used to register a GoogleCloudFunction http function, or express js compatible handler.

    Parameters

    Returns ((req, res) => Promise<any>)

    ExpressJS compatible middleware that invokes SyntheticsSDK mocha, and returns the results via res.send

      • (req, res): Promise<any>
      • Parameters

        • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
        • res: Response<any, Record<string, any>>

        Returns Promise<any>

Generated using TypeDoc