Circle V2 API Docs
    Preparing search index...

    Function makeCronRequest

    • Builds a NextRequest for testing a cron route guarded by withCronSecret. Shared so cron route tests and the middleware test don't each hand-roll the request.

      Parameters

      • path: string
      • options: MakeCronRequestOptions = {}

      Returns NextRequest